ps-grab

1.0.1 • Public • Published

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'

Package Sidebar

Install

npm i ps-grab

Weekly Downloads

912

Version

1.0.1

License

MIT

Last publish

Collaborators

  • abdennour