0.2.2 • Published 4 years ago
character-maker v0.2.2
character-maker
This site aims to help you create new characters for your next novel, story, game, TV show, etc.
Usage
Install the package:
npm install character-makerImport the module and create a new character:
import { Character } from 'character-maker'
// create a new blank character:
const character = new Character()
// create a new character with given parameters:
const character = new Character({
name: {
first: 'John',
last: 'Smith',
}
})
// create a new fully-randomized character:
const character = new Character().generate()All parameters available can be found here.
API Reference
All parameters listed here are optional.
The following properties are available on an instance of the Character class:
.age.arms.background.build.chest.crotch.eyes.hair.health.height.legs.mouth.muscles.name.neck.nose.pronouns.sex.sexuality.shoulders.skin.speech.stomach.waist.weight
View all sub-properties and more documentation here.
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct.
0.2.2
4 years ago
0.2.0
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.4
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago