ps-grab
v1.0.1
Published
Retrieve arguments of Node command line argument , smoothly.
Downloads
2,423
Maintainers
Readme
Grab Feature :
if you want to run this kind of command line :
node myScript.js --name Ahmed --action greeting
Then , reading values of arguments(i.e : --name
, --action
) is wanted .
If so ,this package is useful :
var grab=require('ps-grab');
grab('--name') // return 'Ahmed'
grab('--action') // return 'greeting'