Small helper for building Node.js command-line apps
open sourceMITfree
meow is a helper for writing Node.js command-line apps: it parses arguments, converts flags to camelCase, supports negating flags with --no-, prints the version for --version and your description and help text for --help, and sets the process title to the binary name from package.json, with no dependencies. It's by Sindre Sorhus.
Problems it solves
- parse command-line flags in a small Node.js CLI
- add --help and --version to a Node script
- build a simple CLI tool in JavaScript
Features
- argument and flag parsing
- camelCase flags and --no- negation
- automatic --version and --help
- no dependencies
Alternatives
The same job
These do what meow does.
- yargs Parse command-line arguments and build CLIs in Node.js
- minimist Minimal command-line argument parser for Node.js
- Commander.js The complete solution for Node.js command-line interfaces
- oclif Salesforce's open CLI framework for building Node.js command-line tools
- Inquirer.js Interactive command-line prompts for Node.js
