UNPKG

usfm-grammar

Version:

Uses the tree-sitter-usfm3 parser to convert USFM files to other formats such as USJ, USX, and CSV, and converts them back to USFM

13 lines (10 loc) 164 B
// src/Format.js const Format = { JSON: 'usj', CSV: 'table', ST: 'syntax-tree', USX: 'usx', MD: 'markdown', USFM: 'usfm', }; exports.Format = Format;