JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q21825F
  • License GPL-3.0-only

Generators for OSR-style tabletop roleplaying games

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

OSR Generators

A collection of tools and generators for OSR-style TTRPG

Suppport

  • Knave 1e
  • Knave 2e
  • OSE
  • Basic Fantasy RPG
  • Outcast Silver Raiders
  • Cairn
  • Mork Borg
  • Shadowdark

Usage

Install

npm i osr-generators

Create 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 install

Install dependencies

yarn

Testing

Tests are written using Vitest and can be run with yarn test