
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@pagewrightjs/engine
Advanced tools
Pagewright report engine: JSON report definitions to pages, PDF (incl. PDF/A), Word, Excel, HTML and CSV. Node and browsers. Includes the pw CLI.
The Pagewright report engine for Node and browsers: a JSON report definition and data in, pages out, then PDF (also PDF/A-2b), Word, Excel, HTML or CSV. Includes the pw command line.
import { render, FontStore, fontFile, exportPdf, createSubsetter } from '@pagewrightjs/engine';
import fs from 'node:fs';
const pub = new URL('./node_modules/@pagewrightjs/engine/public/', import.meta.url);
// fontFile(key) names the file behind a key: a .ttf face, or harfbuzz.wasm for the text shaper (Arabic, Hebrew, Indic, Thai…)
const fonts = new FontStore((key) => fs.readFileSync(new URL(`fonts/${fontFile(key)}`, pub)));
// embed only the glyphs a PDF uses (without it, every font embeds in full: a few hundred KB each)
const subset = createSubsetter(() => fs.promises.readFile(new URL('harfbuzz-subset.wasm', pub)));
const model = await render(JSON.parse(fs.readFileSync('statement.pw.json', 'utf8')), { fontStore: fonts, parameters: { accountId: 'LN-1' } });
fs.writeFileSync('statement.pdf', await exportPdf(model, fonts, { title: 'Statement', subset }));
// Excel, CSV, Word, interactive HTML and the accessible PDF rebuild tables from the table data, which render() keeps
// only when asked: render(def, { exportData: true }) (needsExportData(format) says which formats need it)
npx pw render statement.pw.json -p accountId=LN-1 -d loans=data.json -f pdf -o statement.pdf
npx pw test reports # snapshot tests for reports-as-code
MIT. The fonts in public/fonts are under the SIL Open Font License.
FAQs
Pagewright report engine: JSON report definitions to pages, PDF (incl. PDF/A), Word, Excel, PowerPoint, HTML and CSV. Node and browsers. Fonts: @pagewrightjs/fonts; CLI: @pagewrightjs/cli.
The npm package @pagewrightjs/engine receives a total of 0 weekly downloads. As such, @pagewrightjs/engine popularity was classified as not popular.
We found that @pagewrightjs/engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.