Build a polished interactive CLI tool where users type commands into a persistent prompt instead of running one-off scripts.
Add tab-auto-completion and command history to a Node.js developer tool without implementing those features yourself.
Create workflow modes in a CLI app that temporarily restrict and change available commands while a user is inside a sub-task.
Add a built-in REPL to a Node.js service so developers can inspect live state from the command line.
| dthree/vorpal | lebab/lebab | assaf/zombie | |
|---|---|---|---|
| Stars | 5,635 | 5,636 | 5,631 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Project is no longer actively maintained, check for unmaintained-dependency risk before adopting in production.
Vorpal is a Node.js framework for building interactive command-line applications. Rather than a simple script that runs once and exits, a Vorpal app launches its own persistent prompt where users type commands and get responses, similar to how a shell like Bash works but built entirely within your application. You define commands with a short API: give a command a name, describe what arguments and options it accepts, and attach a function that runs when it is called. Vorpal handles the rest: it provides built-in help output, persistent command history, tab-based auto-completion (including custom completions per command), and the ability to pipe commands together. You can also define "modes" that change the prompt and behavior temporarily while the user is inside a particular workflow. The library is installed via npm and targets Node.js developers who want to ship a polished interactive tool rather than a flat script. A small ecosystem of community extensions adds features like paging output through a pager, importing new commands at runtime, or adding a built-in read-eval-print loop (REPL) to inspect state. The project notes that it is now in "open open source" mode: the original author is not actively maintaining it and is looking for volunteers to take over. This is worth knowing before adopting it for a production project, as it may not receive regular updates. The README includes a quick-start example that turns a plain Node file into a working CLI in about ten lines of code.
Vorpal is a Node.js library for building interactive command-line apps with a persistent shell prompt, built-in tab-completion, command history, and piping, though the project is no longer actively maintained.
Mainly JavaScript. The stack also includes JavaScript, Node.js.
The specific license is not mentioned in the explanation.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.