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

@neayi/n8n-nodes-pandoc

v0.1.1

Published

n8n node to invoke Pandoc for document conversion

Readme

n8n-nodes-pandoc

This package provides an n8n node for using Pandoc to convert documents between different formats.

Installation

Installation in n8n

  1. Go to your n8n instance settings
  2. Navigate to "Community Nodes"
  3. Click "Install"
  4. Enter @neayi/n8n-nodes-pandoc

Prerequisites

Important: Pandoc must be installed on the system where n8n is running.

Installing Pandoc in Docker

To install Pandoc in n8n on Docker:

FROM docker.n8n.io/n8nio/n8n

USER root

# Download and install static pandoc binary
# Using a multi-stage build approach with Alpine to download
FROM alpine:latest AS downloader
RUN apk add --no-cache wget tar jq && \
    PANDOC_VERSION=$(wget -qO- https://api.github.com/repos/jgm/pandoc/releases/latest | jq -r '.tag_name') && \
    wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz && \
    tar xvzf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz --strip-components 1 -C /usr/local/

# Final image
FROM docker.n8n.io/n8nio/n8n

USER root

# Copy pandoc binary from downloader stage
COPY --from=downloader /usr/local/bin/pandoc /usr/local/bin/pandoc

USER node

Usage

Main Parameters

Input Type

  • Binary Data: Uses a binary file from a previous node
  • Text: Uses plain text directly from a parameter

Supported Formats

Input Formats:

  • Markdown (Pandoc, GFM, CommonMark, strict, PHP Extra)
  • HTML
  • LaTeX
  • DocBook
  • DOCX
  • ODT
  • EPUB
  • MediaWiki
  • DokuWiki
  • Org-mode
  • reStructuredText
  • Textile
  • Jupyter Notebook
  • And many more...

Output Formats:

  • HTML (4, 5)
  • Markdown (various variants)
  • LaTeX
  • PDF (requires a PDF engine like XeLaTeX)
  • DOCX
  • ODT
  • EPUB (2, 3)
  • MediaWiki
  • PowerPoint (PPTX)
  • Plain Text
  • And many more...

Output Type

  • Binary Data: Produces a binary file (useful for PDF, DOCX, etc.)
  • Text: Returns the converted text in JSON

Additional Options

  • Standalone: Produces a complete document with header and footer
  • Table of Contents: Includes a table of contents
  • Number Sections: Numbers the sections
  • Self Contained: Produces a self-contained document (embedded images and CSS)
  • Wrap: Line wrapping mode (auto, none, preserve)
  • Columns: Column width for line wrapping
  • Custom Pandoc Arguments: Custom arguments for Pandoc (useful for example when converting from Markdown to Mediawiki, use : -f markdown-auto_identifiers --wrap=preserve)

Configuration for your instance

For your instance at https://n8n.dev.tripleperformance.fr/, make sure that:

  1. Pandoc is installed in the Docker container
  2. The package is installed via npm in the container
  3. n8n has been restarted after installation

Development

Build

npm install
npm run build

Lint

npm run lint
npm run lintfix  # To automatically fix issues

Format

npm run format

License

MIT

Support

For issues and questions:

  • Create an issue on GitHub: https://github.com/neayi/n8n_pandoc/issues
  • Check the Pandoc documentation: https://pandoc.org/

Links

  • GitHub : https://github.com/neayi/n8n_pandoc
  • npm : https://www.npmjs.com/package/@neayi/n8n-nodes-pandoc

Contributors

Developped by Neayi for Triple Performance