npm
Create command line utility for project
In your package.json, include (see also package.json docs here):
{ "bin" : { "myapp" : "./cli.js" } }Making sure the relevant script has the header:
#!/usr/bin/env nodeLocally install the command line utility
npm linkLast updated