0.2.18 • Published 2 years ago

@dsoloha/character-maker v0.2.18

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

character-maker

This package aims to help you create new characters for your next novel, story, game, TV show, etc.

Issues Stars ISC License

Usage

Install the package:

npm install @dsoloha/character-maker

Import the module and create a new character:

import { Character } from '@dsoloha/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.

0.2.18

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.3

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.2

3 years ago