Documentation
Creating PDFs
PDFs in Vue
PDFs in Nuxt
PDFs in React
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/vue | author PDFs as Vue components, rendered in the browser or on a server |
@jasy/react | author PDFs as React components, rendered in the browser or on a server |
@jasy/nuxt | the Nuxt module: zero-config PDFs on the client or a server route |
@jasy/e-invoice | 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 beta, and latest is the beta.
pnpm add @jasy/pdf # build PDFs
pnpm add @jasy/vue vue # author PDFs as Vue components
pnpm add @jasy/react @jasy/pdf react # author PDFs as React components
npx nuxi module add @jasy/nuxt # the Nuxt module
pnpm add @jasy/e-invoice # build e-invoices (pulls @jasy/pdf in for you)
pnpm add -g @jasy/cli # the command-line tool
Where to next
- Creating PDFs - the engine, from a one-line hello to full layouts.
- PDFs in Vue - author documents as Vue components, rendered in the browser.
- PDFs in Nuxt - the zero-config module, client or server.
- PDFs in React - author documents as React components, rendered in the browser.
- E-invoices - generate and validate ZUGFeRD / XRechnung.
- The CLI - read, validate and export any invoice from your terminal.