talira

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.

  1. yargs Parse command-line arguments and build CLIs in Node.js
  2. minimist Minimal command-line argument parser for Node.js
  3. Commander.js The complete solution for Node.js command-line interfaces
  4. oclif Salesforce's open CLI framework for building Node.js command-line tools
  5. Inquirer.js Interactive command-line prompts for Node.js

Compare meow with the top 3