say-hello1
v1.0.0
Published
1. we are telling *nix systems that the interpreter of our JavaScript file should be /usr/bin/env node which looks up for the locally-installed node executable. 2. chmod +x cli. 3. try to run ./cli.js haha lala gaga for an example 4. run npm link
Downloads
1
Readme
- we are telling *nix systems that the interpreter of our JavaScript file should be /usr/bin/env node which looks up for the locally-installed node executable.
- chmod +x cli.
- try to run ./cli.js haha lala gaga for an example
- run npm link to make our say-hello1 command executable anywhere
- try say-hello1 haha lala gaga
- run npm unlink to disable it from executable, run say-hello1 again will generate error.
Notes: On install, npm will symlink […] file[s] into prefix/bin for global installs, or ./node_modules/.bin/ for local installs.