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

cli-n8n

v0.1.5

Published

A powerful, interactive CLI to manage and test **n8n workflows** directly from your terminal.

Downloads

324

Readme

cli-n8n ⚡️

A powerful, interactive CLI to manage and test n8n workflows directly from your terminal.

render1767985696782-min

✨ Features

  • ✅ Interactive UI: Manage workflows using a fast, menu-driven interface.
  • 🪝 Webhook Invocation: Test webhooks with a powerful Tree View Editor, auto-detection, and history.
  • 💾 Local Versioning: Save timestamped checkpoints of your workflows locally.
  • ⭐ Favorites: Pin your most-used workflows for quick access.
  • 🔐 Profiles: Manage multiple instances (Prod/Staging/Local) with isolated credentials.
  • 📦 Import/Export: Robust handling of files, URLs, and bundle.zip backups.

📦 Install

npm i -g cli-n8n

🚀 Quick Start

  1. Run the CLI:
    cli-n8n
  2. Configure: Go to Settings → Configure credentials to connect your n8n instance.

📖 Usage Guide

🪝 Webhook Testing

Invoke webhooks interactively without leaving the terminal.

  • Tree Editor: Edit complex JSON payloads in a visual tree structure (nesting supported!).
  • Auto-Detect: The CLI inspects your workflow to guess required fields.
  • History: It remembers your last payload for every workflow.
  • Retry: Rapidly tweak and resend requests from the result screen.

💾 Local Versioning

Never lose work again. Save snapshots to your machine.

  • Save: Select "Save local version" in the menu.
  • List: View all saved versions in ./versions/{WorkflowName}/.

⚡️ Workflow Management

  • List: Browse workflows with status icons.
  • Filter: Search by name or ID.
  • Favorites: Highlight important workflows (displayed with ⭐).

🛠 Commands

| Command | Description | | :------------------------------ | :------------------------------------ | | cli-n8n | Launch interactive mode (Recommended) | | cli-n8n list | List workflows | | cli-n8n list --search "foo" | Search workflows | | cli-n8n export --all --bundle | Backup all workflows to a zip | | cli-n8n import ./file.json | Import workflow | | cli-n8n delete <id> | Delete workflow (auto-backed up) |

⚙️ Configuration

Profiles

Switch between environments easily:

cli-n8n --profile staging

Or manage them in Settings.

Environment Variables

Optionally configure via ENV (overrides saved config):

export N8N_URL="http://localhost:5678/api/v1"
export N8N_API_KEY="YOUR_KEY"

License

MIT