0.4.1 • Published 6 years ago

avataria v0.4.1

Weekly downloads
43
License
MIT
Repository
-
Last release
6 years ago

Avataria

NPM

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

dragonborn-maledragonborn-female

Dwarf

dwarf-maledwarf-female

Elf

elf-maleelf-female

Gnome

gnome-malegnome-female

Half-Elf

half-elf-malehalf-elf-female

Half-Orc

half-orc-malehalf-orc-female

Halfling

halfling-malehalfling-female

Human

human-malehuman-female

Tiefling

tiefling-maletiefling-female

Gender

avataria --gender male

You can specify a gender by setting either male or female

Module Usage

const Avataria = require('avataria');

// specify options, none are required
const opts = {
  race: 'Human',
  gender: 'male',
};

// call the method
const avataria = new Avataria();
const avatar = avataria.generate(opts);

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

License

MIT

0.4.1

6 years ago

0.4.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago