easy-argument-parser

1.0.2 • Public • Published

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}

Package Sidebar

Install

npm i easy-argument-parser

Weekly Downloads

1

Version

1.0.2

License

GPL-2.0

Last publish

Collaborators

  • iman