Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fabrico

justinoverton7Apache-2.01.1.0

Content generation for world-building, RPGs, stories, and more.

procedural, generation, generator, quest, random, worldbuilding

readme

fabrico

fabrico [latin] āvī, ātus, āre VERB build/construct/fashion/forge/shape

Content generation for world-building, RPGs, stories, and more.

installation

npm install fabrico

usage

See fantasy.js for in-depth details.


var fantasy = require('fabrico/dist/fantasy');
console.log(fantasy.character.get());

Outputs something similar to

{
    "name":"Marel",
    "race":"half-elf",
    "gender":"male",
    "eyes":"blue",
    "hair":"gray",
    "profession":"carpenter",
    "inventory":["dagger","ring"]
}