character-gen
v1.0.1
Published
A small utility package to perform random character attribute generation for writers and role-players.
Downloads
2
Maintainers
Readme
character-generator
An npm utility package to perform random character attribute generation for writers and role-players. Written in pure JS, with no dependencies.
const characterGen = require('character-gen');
//To generate a basic archetype string:
characterGen.basic();
// Output: Lazy Landscape gardener
//To generate an appearance attribute string:
characterGen.appearance();
// Output: average height with golden colored unkempt hair.
//A complete character with attribute, profession, appearance, and age (random between 15 and 100):
characterGen.complex();
// Output: A Lazy Landscape gardener, average height with golden colored unkempt hair. 27 years old.