TearlineWrap any HTML in one tag and it prints out as a thermal receipt22,766 bytes served, MIT package
MIT package licensed
0 dependencies
22,766 bytes served
6 attributes, 3 methods
free, no account, no build step
About

About. who publishes it

One custom element that renders anything you wrap in it as a thermal receipt, then exports it as a PNG. Zero dependencies, no build step, MIT.

Tearline is one custom element. You load a single ES module, wrap markup you already know how to write, headings, rules, tables, lists, in a <tear-line> tag, and the browser renders it as a receipt. The paper is CSS wrapped around your content rather than a picture of it, so the text stays selectable and the layout stays yours.

The PNG export runs entirely in the browser: no canvas API, no dependency and no server. Nothing you put inside the element is sent anywhere, because there is nowhere for it to be sent to.

The record

  • Renders any HTML you wrap in it as a thermal receipt, and exports it as a PNG in the browser
  • Published by Compound Labs
  • Live at tearline.thecompound.tech
  • 19 registered claims, 19 of them carrying the primary source they came from
  • Every one of them re-verified against that source on or after 26 August 2026
  • Whether it is up right now: the status page, measured from outside this site

The figures in that record are counted from this product's own claim register rather than written beside it, and the date is the OLDEST verification in the set rather than the newest, a register is only as fresh as its stalest entry, and the newest date is the flattering answer. Nothing here is a round number somebody remembered.

the whole install

</>tearline.thecompound.tech/tearline.js

One ES module. No bundler, no peer dependencies and no server.

or from npm

$npm i @compoundlabs/tearline

The same file, versioned. Read off the registry on 2026-09-20: @compoundlabs/tearline@0.2.0, MIT package, 0 runtime dependencies.

what you are loading

size22,766 bytes, 496 lines, unminified
licenceMIT package, published on npm
package@compoundlabs/tearline
served/tearline.js, from this host

The full reference is on the reference page, and the playground that renders it is the front page.

WHEN THE ELEMENT CHANGES

Tearline is one custom element with six attributes, three methods and no dependencies, served as an MIT package. Attributes get added and the export stages change with them. Leave an address and Tearline writes when a release changes the API.