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-ngram

v0.1.4

Published

n8n community node for the Ngram public API: create videos, watch for completion, and look up video status from n8n workflows.

Readme

n8n-nodes-ngram

n8n.io - Community Node npm version License: MIT

Official Ngram community node for n8n. Generate AI videos, look up their status, and react to completion events from n8n workflows.

This is an n8n community node. It lets you use Ngram in your n8n workflows.

Features

  • Action - Create Video: start an Ngram video render from any workflow.
  • Action - Get Status: check a submitted job by id.
  • Trigger - On Video Ready: receive video.completed webhook events.
  • Trigger - On Video Failed: receive video.failed webhook events.

Installation

Follow the n8n community node installation guide.

Self-hosted n8n

  1. Open Settings > Community nodes > Install.
  2. Enter n8n-nodes-ngram and confirm.
  3. Restart n8n. The Ngram nodes appear in the node picker.

Docker or CLI

docker exec -u node <your-n8n-container> sh -c "
  cd /home/node/.n8n/nodes
  npm install n8n-nodes-ngram
"
docker restart <your-n8n-container>

If the package is still on the beta dist-tag, install n8n-nodes-ngram@beta instead.

n8n Cloud

n8n Cloud support is available after the node is verified through the n8n Creator Portal. Until verification is complete, Cloud users can use the Make or Zapier integrations.

Credentials

  1. Generate an API key at ngram.com/app/settings/api-keys. The key starts with ngs_.
  2. In n8n, create a new Ngram API credential and paste the key.
  3. Leave Base URL as https://www.ngram.com for production. Override it only for staging or preview environments.

Use the credential Test button to verify access. It calls GET /api/v1/account.

Operations

Ngram node

| Operation | Required inputs | Returns | | --- | --- | --- | | Create Video | prompt | Job descriptor including id and status | | Get Status | id returned by Create Video | Current status and output URLs when ready |

Trigger nodes

| Trigger | Event subscribed | Payload | | --- | --- | --- | | Ngram: On Video Ready | video.completed | Video metadata and signed download URLs | | Ngram: On Video Failed | video.failed | Job id and failure reason |

Trigger Behavior

The trigger nodes register a webhook subscription with the Ngram API when activated and delete it when deactivated. On re-activation, they query GET /api/v1/webhooks/subscriptions and reuse any matching subscription instead of creating a duplicate.

When a trigger is deleted, it also sweeps residual orphan subscriptions for the same (event_type, target_url) pair.

HMAC Signature Verification

Webhook payloads are HMAC-signed with X-Ngram-Signature and X-Ngram-Timestamp headers.

This version of the node does not surface the signing secret for inline verification inside n8n. The secret is returned only at subscription creation time and is not exposed by the list endpoint. If you need signature verification, chain an HTTP Request or Function node downstream and validate the headers against your stored secret.

Compatibility

  • n8n: >= 1.82.0
  • Node.js: >= 24

Usage

A ready-to-use workflow is included at templates/notify-on-video-ready.json. Import it with Workflow menu > Import from file, replace the credential reference and Slack channel, then activate the workflow.

The template uses only the On Video Ready trigger. Ngram's public API does not currently expose a per-workflow correlation id, so a template that chains Create Video with the trigger would fire for every video on the account. For a correlated create-and-wait flow, chain Create Video with a Wait node followed by a Get Status loop.

Resources

Contributing

This package is source-mirrored from the Ngram monorepo, where primary development happens. Pull requests and issues filed here are welcome and will be reviewed for upstream inclusion.

See CONTRIBUTING.md for details.

License

MIT - Copyright (c) 2026 Ngram.