Sign In

@kitewright/pdf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitewright/pdf

Kitewright HTML/Typst → PDF render service + CLI — run with npx, no build step. Backed by the Rust kite-pdf engine.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@kitewright/pdf

Run the kitewright HTML/Typst → PDF render service + CLI with npx — no build step, no cargo. A tiny launcher that resolves the prebuilt kite-pdf binary for your platform.

Use it

# HTTP render service (loopback by default):
npx -y @kitewright/pdf
# POST http://127.0.0.1:8091/render  { "html": "<h1>hi</h1>" }  → application/pdf

# one-shot CLI:
npx -y @kitewright/pdf render --html '<h1>Invoice</h1>' -o out.pdf

Security defaults (network service)

  • Binds loopback (127.0.0.1:8091). Set KITE_PDF_BIND=0.0.0.0 to expose — it then requires KITE_PDF_AUTH_TOKEN (or KITE_PDF_INSECURE=1) or it refuses to start, because the endpoint fetches URLs on your behalf.
  • SSRF-filtered: caller urls to loopback/private/link-local/metadata hosts are blocked (KITE_PDF_ALLOW_PRIVATE_IPS=1 for trusted networks).
  • Concurrency-capped (KITE_PDF_MAX_CONCURRENCY, default 4).

How it works

The prebuilt kite-pdf binary ships as an optional per-platform dependency (@kitewright/pdf-darwin-arm64, …); npm installs only the one for your OS/arch. Override with KITE_PDF_BINARY=/path/to/kite-pdf. The Chromium backend uses a system Chromium (or BROWSER_EXECUTABLE); the Typst backend is self-contained.

Keywords

pdf

FAQs

Package last updated on 13 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts