@thebadams/5e-srd-sdk
Version:
An NPM module that links into the Dungeons and Dragons 5e SRD API found at https://www.dnd5eapi.co, built using typescript
9 lines • 501 B
JavaScript
import Spell from './lib/Spell.js';
//Spell.FindAll().then(res => console.log(res))
// Spell.GetByIndex('acid-arrow').then(res => console.log(res));
// Spell.GetByIndex('hell').then(res => console.log(res));
//Spell.FindByLevels([0]).then(res => console.log(res));
// Spell.FindBySchool(['Transmutation', 'Abjuration']).then(res => console.log(res));
// Spell.Find({ level: 1, school: ['Abjuration', 'Conjuration'] }).then(data => console.log(data))
export { Spell };
//# sourceMappingURL=index.js.map