Documentation
jasy
The name is short for javaScript easy PDF, and that is the whole goal: a pure-TypeScript toolkit for building PDFs, and the first Node library that handles ZUGFeRD and XRechnung e-invoices end to end - generate, validate and read. No Java, no headless browser, no upload. Your data never leaves your machine.
The packages
| Package | What it does |
|---|---|
@jasy/pdf | the declarative, Flutter-style PDF engine |
@jasy/zugferd | ZUGFeRD / XRechnung: your data to a conformant PDF/A-3 and EN-16931 XML |
@jasy/cli | the jasy terminal: read, validate and export invoices |
Install
Pick the package for what you want to do. jasy is in early alpha, so install with the @alpha tag for
now.
pnpm add @jasy/pdf@alpha # build PDFs
pnpm add @jasy/zugferd@alpha # build e-invoices (pulls @jasy/pdf in for you)
pnpm add -g @jasy/cli@alpha # the command-line tool
Where to next
- Creating PDFs - the engine, from a one-line hello to full layouts.
- E-invoices - generate and validate ZUGFeRD / XRechnung. Its own chapter.
- The CLI - read, validate and export any invoice from your terminal.