dataforged
Version:
Official content and rules data for the Ironsworn: Starforged tabletop role-playing game, formatted as JSON for use in community tools. 🚀 Includes JSON schemas and a Javascript/Typescript API.
7 lines (6 loc) • 484 B
JavaScript
import * as SF from "./starforged/dataforged.json" assert { type: 'json' };
import * as IS from "./ironsworn/datasworn.json" assert { type: 'json' };
// for some reason these complain about ironsworn assets not having the right number of abilities. no Asset constructor throws an error for this on build, the schemas check out, and all IDs are numbered properly, so i don't know what that's about :shrug:
const starforged = SF;
const ironsworn = IS;
export { starforged, ironsworn };