{ "name": "pdfnative-cli", "version": "1.6.0", "description": "Official CLI for pdfnative — render JSON to PDF (typography engine, 32 Unicode scripts incl. right-to-left under UAX #9 + custom fonts, math, COLRv1 colour emoji, 9 native vector chart types, CMYK and spot colours, PDF/X-4 and the PDF/A-2 + PDF/X-4 dual claim, print production with bleed/printer marks/colour bars, PDF/A, JPEG 2000, bookmarks, streaming, byte-reproducible output), extract text in logical order (RAG/agents), fill & flatten AcroForms, encrypt/decrypt (AES-128/256), merge/split/extract pages, annotate (markup + links), edit metadata, compare PDFs, sign (RSA + ECDSA, native constant-time crypto, multiple signatures), timestamp (RFC 3161, PAdES B-T), embed LTV validation info online or from material on disk (/DSS, PAdES B-LT), add document timestamps (PAdES B-LTA), inspect, validate PDF/UA and PDF/X, verify CMS signatures with LTV (RFC 3161, OCSP, CRL), orchestrate multi-step pipelines, and drive it all from AI agents under a human-in-the-loop governance contract and a compatibility promise proved on every pull request. Zero extra runtime dependencies.", "type": "module", "bin": { "pdfnative": "./dist/cli.cjs" }, "main": "./dist/cli.cjs", "module": "./dist/cli.js", "types": "./dist/cli.d.ts", "imports": { "#fuzz-surface": "./fuzz/.build/fuzz-surface.js" }, "files": [ "dist", "LICENSE", "README.md", "llms.txt" ], "sideEffects": false, "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "gate": "npx tsx scripts/gate.ts", "gate:fast": "npx tsx scripts/gate.ts --fast", "lint": "eslint src/", "typecheck": "tsc --noEmit", "typecheck:tests": "tsc --project tsconfig.test.json --noEmit", "typecheck:scripts": "tsc --project tsconfig.scripts.json --noEmit", "typecheck:all": "npm run typecheck && npm run typecheck:tests && npm run typecheck:scripts", "test:generate": "npx tsx scripts/generate-samples.ts", "verify:samples": "npx tsx scripts/verify-samples.ts", "verify:docs": "npx tsx scripts/verify-docs.ts", "corpus:pdfa": "npx tsx scripts/generate-pdfa-corpus.ts", "validate:pdfa": "npx tsx scripts/validate-pdfa.ts", "validate:pdfx": "npx tsx scripts/validate-pdfx.ts", "compat:previous": "npx tsx scripts/run-compat.ts", "release:prepare": "npx tsx scripts/release-prepare.ts", "agents:rules": "npx tsx scripts/build-claude-rules.ts", "hooks:install": "node scripts/install-git-hooks.mjs", "hooks:uninstall": "node scripts/install-git-hooks.mjs --uninstall", "prepublishOnly": "npm run build" }, "keywords": [ "pdf", "pdf-generation", "cli", "pdfnative", "pdf-render", "pdf-sign", "pdf-verify", "pdf-inspect", "zero-dependency", "typescript", "pdf-a", "digital-signature", "cms", "pkcs7", "ecdsa", "rfc3161", "ltv", "ocsp", "crl", "pades", "pdf-watch", "batch", "shell-completions", "command-line", "pdf-ua", "accessibility", "colr", "color-emoji", "unicode", "text-shaping", "opentype", "bidi", "streaming", "telugu", "sinhala", "khmer", "myanmar", "tibetan", "amharic", "lao", "cham", "tai-tham", "hausa", "yoruba", "igbo", "swahili", "pdf-x", "pdfx4", "cmyk", "typography", "kerning", "reproducible-builds", "source-date-epoch", "ai-agent", "agentic", "ai-governance", "human-in-the-loop", "automation", "json-output", "json-schema", "sbom", "supply-chain", "pdf-merge", "pdf-split", "pdf-extract", "annotate", "annotations", "markup-annotations", "bookmarks", "outline", "page-labels", "layout-inspection", "math-symbols", "extract-text", "text-extraction", "pdf-to-text", "pdf-text", "pdf-forms", "acroform", "form-fill", "fill-form", "flatten-pdf", "encrypt", "decrypt", "pdf-encryption", "pdf-password", "aes-256", "aes-128", "charts", "pdf-charts", "data-visualization", "rag", "llm", "llms-txt", "powershell-completion", "pdf-compare", "pdf-diff", "document-timestamp", "timestamping", "tsa", "dss", "pades-lt", "pades-lta", "pdf-metadata", "xmp", "print-production", "bleed", "printer-marks", "output-intent", "pdf-manifest", "pipeline", "right-to-left", "rtl", "uax9", "arabic", "hebrew", "gujarati", "gurmukhi", "punjabi", "kannada", "malayalam", "odia", "oriya", "indic", "jpeg-2000", "jpx", "jp2", "spot-color", "spot-colour", "separation", "devicen", "ink-mix", "pdf-a-2", "pdfa-2b", "pdfa-2u", "pdfx-4", "dual-conformance", "text-direction", "actualtext", "logical-order", "ltv-offline", "pdf-stream-limit", "backward-compatible", "fuzz-tested", "cross-platform", "slsa" ], "author": "Nizoka (https://pdfnative.dev)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Nizoka/pdfnative-cli.git" }, "homepage": "https://github.com/Nizoka/pdfnative-cli#readme", "bugs": { "url": "https://github.com/Nizoka/pdfnative-cli/issues" }, "funding": { "type": "individual", "url": "https://plika.app" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public", "provenance": true }, "packageManager": "npm@10.9.2", "dependencies": { "pdfnative": "^1.9.0" }, "devDependencies": { "@types/node": "^22.20.5", "@vitest/coverage-v8": "^4.1.12", "eslint": "^9.0.0", "tsup": "^8.0.0", "tsx": "^4.23.15", "typescript": "^5.4.0", "typescript-eslint": "^8.72.1", "vitest": "^4.1.12" }, "overrides": { "esbuild": "0.28.1", "js-yaml": "4.3.2" } }