rittenhop-ghost/versions/5.94.2/node_modules/ee-argv
2024-09-23 19:05:38 -04:00
..
test adding local files for running this....locally 2024-09-23 19:05:38 -04:00
.npmignore adding local files for running this....locally 2024-09-23 19:05:38 -04:00
.travis.yml adding local files for running this....locally 2024-09-23 19:05:38 -04:00
index.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00
test.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00

ee-argv

A simple and fast commandline arguments parser

installation

npm install ee-argv

build status

Build Status

usage

You may start your node app using arguments using one of the formats described below:

  • --key=value

  • --key or

  • --key value

    // node . --port=2345 --trace-http-request --debug sql queries

    var argv = require( "ee-argv" );

    argv.has( "trace-http-request" ); // true argv.get( "port" ); // "2345" argv.has( "port" ); // true argv.get( "debug" ); // sql queries