npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-paperwright

v0.1.2

Published

Render PDF documents from Paperwright templates in n8n workflows

Readme

n8n-nodes-paperwright

Render PDF documents from Paperwright templates in your n8n workflows. Attach any trigger (Webhook, Schedule, an app event) and every execution renders a PDF as binary data, ready for Email, Slack, Google Drive, or S3 nodes.

Installation

Community nodes are installed per n8n instance:

  1. In n8n, open Settings → Community Nodes.
  2. Select Install, then enter n8n-nodes-paperwright.
  3. Approve the risks of using community nodes (self-hosted instances only).

n8n Cloud users: community nodes must be verified by n8n before they can be installed on Cloud instances.

Credentials

  1. In the Paperwright app, open Settings → API keys and create a key (it's shown once — copy it).
  2. In n8n, create a new Paperwright API Key credential and paste the key.
  3. The credential is tested against https://api.paperwright.dev/health.

The key is sent as the X-Api-Key header. Keep it server-side.

Usage

Resources and operations:

| Resource | Operation | What it does | |---|---|---| | Template | Render | Renders a stored template; PDF arrives as binary data | | Template | Render Inline | Renders template JSON passed inline | | Template | Get Many | Lists the workspace's templates | | Batch | Create Job | Submits a mail-merge (one document per row) | | Batch | Get Job Status | Polls a job until succeeded | | Batch | Download Result | Downloads the finished ZIP/merged PDF | | Usage | Get | This month's usage for the workspace |

First render in 3 clicks

  1. Add a Paperwright node, pick your credential.
  2. Template ID: open the template in Paperwright → "Use in code" → n8n tab gives you a ready-to-import workflow with the id pre-filled.
  3. Run the workflow — the PDF lands in the data binary property.

Wiring real data

The Data parameter accepts n8n expressions, so upstream trigger data fills your template's {{field}} tokens automatically:

{
  "customerName": "{{ $json.customer_name }}",
  "total": "{{ $json.amount }}"
}

Compatibility

  • n8n v1.x+ (nodes API v1), tested against n8n 1.9x/2.x.
  • Paperwright API base URL is fixed to https://api.paperwright.dev.

Resources

Next steps

  • [ ] Deploy the backend auth changes to Render — the node's List/Batch/Usage operations need API-key auth live on api.paperwright.dev (paperwright-api → feat/n8n-machine-auth)
  • [ ] Test the node live: npm run dev in this folder (needs Docker or Podman), then run a real render against https://api.paperwright.dev with an API key
  • [x] Replace the placeholder icon with the brand mark (nodes/Paperwright/paperwright.svg)
  • [ ] Publish from GitHub Actions: one-time npm setup is in .github/workflows/publish.yml, then npm run release locally tags a version and CI publishes it with provenance
  • [ ] After publishing: install in n8n via Settings → Community Nodes, then submit for n8n verification to unlock n8n Cloud
  • [ ] Docs: add the n8n guide page to paperwright-docs and link the hosted workflow templates (/n8n/render-on-webhook.json, /n8n/render-on-schedule.json)

License

MIT