npm install character-card-utils Copy
npm install character-card-utils
import * as Cards from 'character-card-utils' Copy
import * as Cards from 'character-card-utils'
const Cards = require('character-card-utils') Copy
const Cards = require('character-card-utils')
Refer to the documentation for parseToV2 and safeParseToV2. Those functions automatically convert V1 cards to V2.
For more specific parsers, refer to the documentation for v1, v2, book, and entry.
Generated using TypeDoc
Installing
Importing
ES6
CommonJS
Parsing/validating arbitrary JSON
Refer to the documentation for parseToV2 and safeParseToV2. Those functions automatically convert V1 cards to V2.
For more specific parsers, refer to the documentation for v1, v2, book, and entry.
Utilities