ps-grab

v1.0.1
Retrieve arguments of Node command line argument , smoothly.
grab process cli command-line productivity

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'
npm i ps-grab

Metadata

  • MIT
  • Whatever
  • Abdennour TOUMI
  • released 7/15/2016

Downloads

Maintainers