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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@custom-js/n8n-nodes-pdf-toolkit

v1.51.0

Published

This is official node for interacting with APIs from customjs.space

Readme

Banner image

@custom-js/n8n-nodes-pdf-toolkit

This is an n8n community node. It lets interact with official API of customJS API

This package contains nodes to help you generate PDF from HTML, merge multiple PDF files, take a screenshot of specific website using URL, convert PDF to PNG, convert PDF to Text and extract pages from PDF.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Use the package at here.

Credentials

Add your Api Key and store securely

Local Development with Docker

To test your local changes using Docker:

Prerequisites

  • Docker and Docker Compose installed
  • Node.js and npm installed

Setup Steps

  1. Build the package:

    npm run build
  2. Start n8n with Docker:

    docker compose up -d

Development Workflow

After making code changes:

npm run build && docker restart n8n-dev

To view logs:

docker logs n8n-dev -f

To stop the environment:

docker compose down

Usage

"HTML to PDF" node

  • Add the HTML to PDF node to your workflow
  • Configure your CustomJS API credentials
  • Input your HTML content
  • Execute the workflow to generate PDF

"Merge PDFs" node

  • Add the Merge PDFs node to your workflow
  • Configure your CustomJS API credentials
  • Input PDF files as an array with the same field name to merge.
  • If total size of files exceeds 6MB, pass it as an array of URL seperated by comma.
  • Execute the workflow to get merged PDF file.

"Website Screenshot" node

  • Add the Website Screenshot node to your workflow
  • Configure your CustomJS API credentials
  • Input your URL of website to take screenshot
  • Execute the workflow to take a screenshot of that website

"Compress PDF" node

  • Add the Compress PDF node to your workflow
  • Configure your CustomJS API credentials
  • Input Binary PDF file for compression to compress
  • If size of the binary file exceeds 6MB, pass it as URL.
  • Execute the workflow to get a compression of PDF file.

"PDF To PNG" node

  • Add the PDF To PNG node to your workflow
  • Configure your CustomJS API credentials
  • Input Binary PDF file for conversion
  • If size of the binary file exceeds 6MB, pass it as URL.
  • Execute the workflow to get converted PNG file.

"PDF To Text" node

  • Add the PDF To Text node to your workflow
  • Configure your CustomJS API credentials
  • Input Binary PDF file for conversion
  • If size of the binary file exceeds 6MB, pass it as URL.
  • Execute the workflow to get converted Text file.

"Extract Pages From PDF" node

  • Add the Extract Pages From PDF node to your workflow
  • Configure your CustomJS API credentials
  • Input Binary PDF file for conversion
  • If size of the binary file exceeds 6MB, pass it as URL.
  • Execute the workflow to get converted Pages from PDF file.

"SSL Checker" node

  • Add the SSL Checker node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the domain you want to check (e.g., example.com).
  • Execute the workflow to get information about the SSL certificate, including the expiration date.

"Scraper" node

  • Add the Scraper node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the website URL you want to scrape (must start with https://).
  • Optionally, define user actions (click, type, wait) to interact with page elements using selectors.
  • Choose the return type:
    • Raw HTML: Get the HTML content of the page.
    • Screenshot (PNG): Get a screenshot of the page.
  • Enable or disable debug mode to control error handling for missing elements.
  • Execute the workflow to scrape the website and receive the desired output.

"Markdown to HTML" node

  • Add the Markdown to HTML node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the Markdown content you want to convert to HTML.
  • Execute the workflow to get the converted HTML content.

"HTML to Docx (Word)" node

  • Add the HTML to Docx (Word) node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the HTML content you want to convert to Docx (Word).
  • Execute the workflow to get the converted Docx (Word) file.

"PDF Form Fill" node

  • Add the PDF Form Fill node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the PDF file you want to fill out.
  • Define the form fields and their values.
  • Execute the workflow to get the filled-out PDF file.

"Get PDF Form Field Names" node

  • Add the Get PDF Form Field Names node to your workflow.
  • Configure your CustomJS API credentials.
  • Input the PDF file you want to get form field names from.
  • Execute the workflow to get the form field names.

"Invoice Generator" node

  • Add the Invoice Generator node to your workflow.
  • Configure your CustomJS API credentials.
  • Select a PDF template.
  • Fill in the issuer, payment, recipient, and billing information.
  • Add items to the invoice.
  • Execute the workflow to generate the PDF invoice.