README
Notzer → ntz2icml
Convert a Notzer-File to a ICML-File (InCopy/InDesign).
install
npm install notzer.ntz2icml --save
usage
var fs = require("fs");
const ntz2icml = require("notzer.ntz2icml");
let ntz = fs.readFileSync("./data/index.ntz.json");
ntz = JSON.parse(ntz);
// parse ntz to icml
let ntz2icml = new Ntz2icml();
fs.writeFileSync("./data/index.icml", ntz2icml.convert(ntz));