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

@ujiboo/n8n-nodes-monk

v0.1.1

Published

n8n community node for Monk Document Extraction API integration

Readme

@ujiboo/n8n-nodes-monk

Simple n8n nodes for the Monk Document Extraction API:

  • Monk Upload Document – upload a file to Monk
  • Monk Document Processed Trigger – poll Monk for newly processed documents

Installation

n8n Cloud

  1. Go to Settings → Community Nodes
  2. Click Install a community node
  3. Enter @ujiboo/n8n-nodes-monk

Self‑hosted n8n

npm install @ujiboo/n8n-nodes-monk

Restart n8n after installing.

Credentials

Add a Monk API credential in n8n:

  • API Key – your Monk API key
  • Base URL – Monk API base (defaults to https://monk.ujiboo.com/api/v1)

These credentials are reused by all nodes in this package.

Nodes

Monk Upload Document

Uploads a single PDF or image (JPEG/PNG) to Monk using the documents/init-upload flow.

Key options:

  • Operation
    • Upload Document (No Wait) – upload and return immediately
    • Upload Document and Wait for Result – upload, wait for processing, then return documents
  • Input Data Field Name – name of the JSON or binary field that contains the file
  • File Name – optional override for the uploaded file name
  • Extractor ID / Extraction Configuration – optional Monk extraction settings
  • Maximum Wait Time / Poll Interval (only for Upload and Wait) – control how long and how often the node polls Monk

Output:

  • Upload (No Wait) – one item with documentId, documentSourceId, tempKey, uploadId, fileName, fileType, fileSize, uploadedAt
  • Upload and Wait – one item per processed document; document JSON at the top level plus _meta with upload info and stats

Monk Document Processed Trigger

Polls Monk’s /documents endpoint and emits only new documents since the workflow started.

Key options:

  • Poll Interval (Minutes) – how often to query Monk
  • Items Per Page – how many documents to fetch per poll
  • Emit Mode
    • Single Document Per Execution – one execution per document
    • Batch (All New Documents) – all new documents in one execution
  • Verified Filter – all / verified / unverified
  • Upload ID Filter – only documents for a specific upload_id
  • Status Filter – all / completed / failed / processing (based on the document status)
  • Include Document Data – include or omit the extracted data payload

Each emitted item contains document metadata plus:

  • _triggeredAt – when this poll ran
  • _serverEnvironmentcredentials or custom

Development

  • Install dependencies: npm install
  • Build: npm run build
  • Lint: npm run lint

The GitHub Action in .github/workflows/publish.yml builds, lints, and publishes the package to npm on tagged releases.

License

MIT – see LICENSE.md.