@json-to-office/jto
v0.3.4
Published
JSON to Office CLI - Unified document and presentation generation
Downloads
479
Maintainers
Readme
@json-to-office/jto
CLI and visual playground for json-to-office. Edit document definitions in a Monaco editor with autocomplete and validation, preview rendered output live, and generate .docx / .pptx files from the command line.
Install
npm install -g @json-to-office/jtoUsage
# Start the dev server with visual playground
jto docx dev --input ./template.json
jto pptx dev --input ./template.json
# Generate files directly
jto docx generate --input ./template.json --output ./report.docx
jto pptx generate --input ./template.json --output ./deck.pptxVisual playground
The dev server opens a browser-based IDE with:
- Monaco editor — Full JSON editing with autocomplete, inline validation, and syntax highlighting
- Live preview — See rendered document output update as you type
- Built-in templates — Start from example documents (dashboards, sales decks, reports)
- Theme switching — Toggle between built-in themes or load your own
- Schema validation — Real-time error reporting against TypeBox schemas
License
MIT — Wiseair srl
