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-pdf-page-extract-next

v1.0.1

Published

n8n node for extracting text from PDF pages along with images

Readme

n8n-nodes-pdf-page-extract-next

A community n8n node that extracts text and images from a specific page of a PDF file.


Installation

  1. Open your n8n instance
  2. Go to Settings → Community Nodes
  3. Click Install
  4. Enter the package name: n8n-nodes-pdf-page-extract-next
  5. Click Install and wait for the process to complete
  6. Restart n8n when prompted

Once installed, the PDF Page Extract Next node will appear in your node panel.


Operations

Extract Pages With Images

Extracts text and all embedded images from a single page of a PDF.

| Parameter | Type | Default | Description | |---|---|---|---| | Binary Property | string | data | Name of the binary property on the input item that holds the PDF file | | Page Number | number | 1 | The page number to extract content from | | Image Timeout (ms) | number | 5000 | How long to wait for image extraction per page before skipping |


Output

JSON

{
  "pageNumber": 3,
  "text": "Extracted text content from page 3..."
}

Binary

Every image found on the page is output as a separate binary property named page_{n}_image_{k}:

| Binary Key | Description | |---|---| | page_3_image_1 | First image on page 3 | | page_3_image_2 | Second image on page 3 |

If no images are found on the page, the binary output will be empty.


Usage

Extract a single page

  1. Add a node that provides a PDF as binary data (e.g. Read/Write Files from Disk, HTTP Request, Google Drive)
  2. Connect it to PDF Page Extract Next
  3. Set Binary Property to the name of the binary field holding your PDF (default: data)
  4. Set Page Number to the page you want to extract
  5. Run the node — output will contain the page text in JSON and images as binary properties

Extract all pages using a loop

To process every page of a PDF:

  1. Load the PDF using any file node
  2. Add a Code node to generate page numbers (replace 20 with your PDF's total pages):
const totalPages = 20;
return Array.from({ length: totalPages }, (_, i) => ({ json: { page: i + 1 } }));
  1. Connect the Code node to PDF Page Extract Next
  2. Set Page Number to {{ $json.page }}
  3. Each execution returns the text and images for that page independently

Notes

  • Pages with no images will still return text successfully
  • If image extraction exceeds the timeout, text is still returned and the node continues without error
  • All images are output in image/png format
  • Enable Continue On Fail in node settings to handle errors gracefully without stopping the workflow

Author

Arsalan Mughal


License

MIT