+3
-2
| { | ||
| "name": "pdfnative", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Zero-dependency native PDF generation library. 16 scripts (Arabic, Hebrew, Thai, CJK, Devanagari, Bengali, Tamil, Cyrillic, Greek, Georgian, Armenian, Latin), BiDi, PDF/A-1b/2b/3b, AES encryption, digital signatures, AcroForm, barcodes, SVG. Pure JavaScript ISO 32000-1 implementation.", | ||
@@ -58,3 +58,4 @@ "type": "module", | ||
| "bench": "vitest bench", | ||
| "prepublishOnly": "npm run build" | ||
| "prepublishOnly": "npm run build", | ||
| "docs:serve": "npx serve docs/ --listen 5000" | ||
| }, | ||
@@ -61,0 +62,0 @@ "keywords": [ |
+29
-0
@@ -54,2 +54,13 @@ # pdfnative | ||
| ## Documentation | ||
| - 🌐 **Website:** [pdfnative.dev](https://pdfnative.dev) — landing page, live in-browser demo with 10 examples, comparisons, benchmarks. | ||
| - 📘 **Quick Start:** [docs/guides/quickstart.md](docs/guides/quickstart.md) — Node.js, browser, Web Worker, streaming. | ||
| - 🏛️ **Architecture:** [docs/guides/architecture.md](docs/guides/architecture.md) — modules, builders, generation pipeline. | ||
| - ♿ **Accessibility:** [docs/guides/accessibility.md](docs/guides/accessibility.md) — tagged PDF, PDF/UA, PDF/A. | ||
| - ❓ **FAQ:** [docs/guides/faq.md](docs/guides/faq.md) — fonts, encryption, signatures, comparisons. | ||
| - 🛠️ **Troubleshooting:** [docs/guides/troubleshooting.md](docs/guides/troubleshooting.md) — common pitfalls. | ||
| - 🎮 **Playgrounds:** [docs/playgrounds/extreme-scripts.html](docs/playgrounds/extreme-scripts.html) (live BiDi/Indic stress tests) and [docs/playgrounds/medical-800.html](docs/playgrounds/medical-800.html) (800-page Web Worker showcase). | ||
| - 🧪 **Sample PDFs:** [scripts/generators/](scripts/generators/) — ~140 sample PDFs across 23 categories (see [Sample PDFs](#sample-pdfs) below). | ||
| ## Why pdfnative? | ||
@@ -348,2 +359,4 @@ | ||
| <a id="sample-pdfs"></a> | ||
| Generate sample PDFs for all supported languages to visually verify output: | ||
@@ -471,2 +484,5 @@ | ||
| | `doc-thai.pdf` | Thai user manual (GSUB+GPOS shaping, pricing table) | | ||
| | `doc-bengali.pdf` | Bengali document (GSUB conjuncts + GPOS marks) | | ||
| | `doc-tamil.pdf` | Tamil document (GSUB substitution + split vowels) | | ||
| | `doc-devanagari.pdf` | Hindi (Devanagari) document — GSUB conjuncts, reph reordering, matra reordering, split vowels | | ||
| | `doc-chinese-catalog.pdf` | Chinese product catalog (tables, ordering info) | | ||
@@ -1083,2 +1099,15 @@ | `doc-multi-language.pdf` | Multi-language: EN + Arabic + Japanese in one PDF | | ||
| ## Citing pdfnative | ||
| If you use pdfnative in academic, governmental, or compliance work, please cite it. Citation metadata is available in [CITATION.cff](CITATION.cff). | ||
| ```bibtex | ||
| @software{pdfnative, | ||
| author = {Nizoka}, | ||
| title = {pdfnative: Zero-dependency, ISO 32000-1 compliant PDF generation for TypeScript}, | ||
| url = {https://github.com/Nizoka/pdfnative}, | ||
| year = {2026} | ||
| } | ||
| ``` | ||
| ## License | ||
@@ -1085,0 +1114,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
61773920
0.02%55909
0.11%1114
2.67%