# cognitom/paper-css

Paper CSS for happy printing

Repository: https://github.com/cognitom/paper-css
Canonical: https://ross.abutalabs.com/products/paper-css
Homepage: https://www.npmjs.com/package/paper-css
Language: CSS
License: MIT
License Family: permissive
Topics: css, printing
Last push: 2023-05-16T23:55:20+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3985, "days_push": 1205, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2586, forks 335 (observed 2026-08-28T04:07:02.712205+00:00)

## What it is
Paper CSS is a small CSS stylesheet that lets you create printable documents (A3/A4/A5, letter, legal) directly in the browser using plain HTML. It supports live preview and PDF generation via tools like electron-pdf, without any back-end.

## Use cases
- generate printable invoices from HTML
- create A4 documents in the browser
- print HTML pages with correct page sizes
- generate PDFs from HTML without a backend
- preview print layouts with live reload
- make printable certificates or letters in CSS

## When to choose
- you want pure front-end printing with no server
- you need standard paper sizes with simple CSS classes
- you want live-previewable printable HTML documents

## When to avoid
- you need complex paged media features like headers/footers or page numbers
- you require server-side high-volume PDF rendering
- you need an actively developed solution with recent features

## Facets
- artifact type: library
- maturity: maintenance
- function: css-framework, pdf, templating
- domain: web-development, frontend, pdf
- platform: browser, cross-platform
- tags: print-stylesheets, paper-sizes, pdf-generation, a4, letter, nodejs

## Member repositories
- cognitom/paper-css (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.712205+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:26.223265+00:00, confidence not recorded.
  - readme: https://github.com/cognitom/paper-css (fetched 2026-08-28T04:07:02.712205+00:00, sha 4d61bb9d2a6c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
