Package Exports
- osr-generators
- osr-generators/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (osr-generators) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Suppport
- Knave 1e
- Knave 2e
- OSE
- Basic Fantasy RPG
- Outcast Silver Raiders
- Cairn
- Mork Borg
- Shadowdark
Usage
Install
npm i osr-generatorsCreate a Knave character
import { KnaveCharacter } from 'osr-generators'
// Generate a new character
const character = new KnaveCharacter()
// Regenerate character
character.generate()
// Regenerate traits only
character.generateTraits()Contributing
Prerequisites
Install nodejs
Use asdf to install the node version listed in .tool-verisons
asdf installInstall dependencies
yarnTesting
Tests are written using Vitest and can be run with yarn test