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

@aaqu/node-red-aaqu-pdf

v0.4.6

Published

node-red pdf creator

Downloads

57

Readme

Security Disclaimer

This package processes PDF data directly within the main execution context and does not utilize sandboxing, isolated workers, or any form of execution containment.
Accordingly, it provides no warranties or representations, whether express or implied, regarding safety, security, performance, or suitability for handling untrusted, user-supplied, or potentially malicious PDF content.

The software is provided “as is”, without any guarantees of reliability or protection, and no assurance is given that it can safely process adversarial input.
Use in security-sensitive environments or with sensitive data is not recommended unless independent validation, isolation, and appropriate hardening measures are implemented.

Important Information

Your support in the ongoing development of this library would be sincerely appreciated. 🙂

Buy Me a Coffee

@aaqu/node-red-aaqu-pdf

A Node-RED node for operating on a PDF document.

This module provides a custom Node-RED node that:

  • get single page from pdf
  • display single page in flow

Get single page form pdf (file, http)

example.png

Display page in flow - need node-red-contrib-image-tools -> viewer

example2.png

Create empty PDF and draw text

create-pdf-draw-text.png


Features

  • Create empty PDF and draw text
  • Select a single page from pdf to buffer
  • Convert PDF page buffer to base64 image

Installation

Run the following command inside your Node-RED user directory (typically ~/.node-red):

npm install @aaqu/node-red-aaqu-pdf

Then restart Node-RED and the new node will appear in the editor palette.


Nodes usage

pdf get page

node-pdf-get-page.png

  • msg.payload - pdf buffer
  • msg.pdfPage – optional runtime override for the page number (starting at 1).
pdf multi page buffer → [pdf get page] → pdf single page buffer

where:

  • pdf multi page buffer input multi page buffer.
  • pdf get page extracts the configured page (or the page defined in msg.pdfPage) default page no 1.
  • pdf single page buffer return single page buffer.

pdf to img

node-pdf-to-img.png

  • msg.payload - pdf buffer input
pdf buffer → [pdf to img] → out base64

where:

  • pdf buffer a pdf file as buffer.
  • pdf to img extracts the page to image.
  • out base64 return image in base64 (to display use node-red-contrib-image-tools -> viewer).

pdf create

node-pdf-create.png

create PDF document

pdf add page

node-pdf-add-page.png

adding a page

pdf save

node-pdf-pdf-save.png

buil final PDF

pdf draw text

node-pdf-draw-text

add text to page PDF


Use cases

  • Fast display pdf in flow editor.
  • Extracting pages from automatically generated reports.
  • Preparing single-page documents for downstream processing.
  • Splitting large PDFs into smaller parts.
  • Creating lightweight attachments for email or APIs.

License

Apache-2.0