proskomma-json-tools
v0.8.21
Published
Tools for working with Proskomma-derived formats such as PERF and SOFRIA
Downloads
1,314
Readme
proskomma-json-tools
Tools for working with Proskomma-derived JSON formats such as PERF and SOFRIA
Usage
npm install proskomma-json-tools
import {perfToUsfm} from 'proskomma-json-tools';
// ...
const usfm = perfToUsfm(perf);
Generate Schema Documentation
Using the Python json schema generator https://github.com/coveooss/json-schema-for-humans :
generate-schema-doc src/schema/combined/0_2_1/perf_document_combined.json doc/schema/perf.html
generate-schema-doc src/schema/combined/0_2_1/sofria_document_combined.json doc/schema/sofria.html