Skip to main content

npm

Package metadata:

CDN

Single ES-module bundle plus a stylesheet:
Alternatively, import the ESM URL directly inside a module script:

Hosted viewer

If you only need to read a single document and don’t want to host the viewer yourself, the same library is mounted at screenjson.com/viewer/ — drop a file or paste a URL. Deep-link with ?src=:

Fonts

The library uses Courier Prime, loaded by app.css from Google Fonts:
If you prefer to self-host, install the font separately and override --font-screenplay in your own CSS:

TypeScript

Types ship with the npm package: