# dndata-5e

> A version of MorePurpleMoreBetter's 5e character sheet javascript optimized for use outside of AcroForm PDFs

Latest version **0.1.2** (published 2019-07-14) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install dndata-5e
pnpm add dndata-5e
yarn add dndata-5e
bun add dndata-5e
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2019-07-14 |
| First published | 2019-07-06 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 36.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | !marion fitts |
| Maintainers | mfitts |
| Keywords | library, dungeons, dragons, dnd, 5e, character, sheet, mpmb |

## Links

- npm: https://www.npmjs.com/package/dndata-5e
- Repository: https://github.com/mf1tts/dndata-5e
- Homepage: https://github.com/mf1tts/dndata-5e#readme
- Issues: https://github.com/mf1tts/dndata-5e/issues
- npm.io page: https://npm.io/package/dndata-5e

## Dependencies (1)

- [clone](https://npm.io/package/clone.md) ^2.1.2

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 0.1.2 (latest) — 2019-07-14
- 0.1.1 — 2019-07-06
- 0.1.0 — 2019-07-06

## README

# dndata-5e
Tools and pipelines for converting 5e character sheet data from the [MorePurpleMoreBetter versions](https://github.com/morepurplemorebetter/MPMBs-Character-Record-Sheet) to node modules, etc

## Node Module
The current node module is super simple.  

```js
var dndata = require('dndata-5e').data;

console.log(dndata.SpellsList["alarm"].description);
/* Produces:
 "Door, window, or 20-ft cube area; audible (60 ft) or mental alarm (1 mile) if undesignated crea enters" */
```
It only has the freely available/SRD content by default, just like the MPMB sheet.  However, a very basic import is available:

```js
var dndata = require('dndata-5e').data;
var fs = require('fs');

dndata.addContent(fs.readFileSync("path/to/mpmb-formatted-file.js", 'utf8'));
```

---
_Source: https://npm.io/package/dndata-5e · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
