Avataria
This is a tool for randomly generating avatars for use in character sheets.
Installation
You will need node and npm installed. Then do:
npm install -g avataria
Generate an Avatar
avataria
Once you have installed avataria you can generate an avatar by simply running the following:
Options
race
avataria --race human
Currently there are 9 race available:
Dragonborn
Dwarf
Elf
Gnome
Half-Elf
Half-Orc
Halfling
Human
Tiefling
Gender
avataria --gender male
You can specify a gender by setting either male
or female
Module Usage
const Avataria = ; // specify options, none are requiredconst opts = race: 'Human' gender: 'male'; // call the methodconst avataria = ;const avatar = avataria;
Options
- Race: defaults to random, you can set the race to any available
- Gender: defaults to random, you can set the gender to either male or female