node.js - Is it possible for a npm package to accept parameters -


is possible create npm package accepts parameters? e.g.

npm install mypackage --save -**meaningoflife:42**

thanks

these cli options npm-install

npm install (with no args in package dir) npm install <tarball file> npm install <tarball url> npm install <folder> npm install [@<scope>/]<name> [--save|--save-dev|--save-optional] [--save-exact] npm install [@<scope>/]<name>@<tag> npm install [@<scope>/]<name>@<version> npm install [@<scope>/]<name>@<version range> npm (with of previous argument usage) 

you can see more details with

npm install 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -