1.0.2 • Published 7 years ago
easy-argument-parser v1.0.2
easy-argument-parser
Simple way read command-line arguments in your project.
##installation
npm install easy-argument-parser --save
Usage
In your app:
//my-app.js
var args = require('easy-argument-parser');
console.log(args);
Then you can run your file like this:
node my-app.js --option1 --option2=10
> $ {option1: true, option2: 10}