Structure of a repo:
README.md- this filetypes- directory to keep all card types Each card-type should be presented in form:
- Separate directory with card-type name
REAMDE.mdfile which explains the main purpose of type. Screenshots with examples and so onexample.json5- example card, described according to the card typevalidator.js- file, which should provide validation function, exported by default (in commonjs modules format), which should returntrue/falsefor incoming object. Better to use json-schema validation.index.js- file, which converts incoming object (like fromexample.json5) to structure. Should provide the single function as default export (commonjs modules format).
{
front: {(html)String},
back: {(html)String},
tags: {String[]}
}