A package for Node.js is being developed, in which there is a command line utility. Now alacon.js is a JavaScript program hosted at the root of the package. To run this utility, you must enter the word node before the name of the utility, for example:
node alacon 'SELECT * FROM CSV("mydata.csv") ORDER BY 2' What you need to configure in package.json, what files you need to create and how to make it so that:
1.To run this utility did not need to specify the word node :
alacon 'SELECT 1+1' 2. It would be possible to install the package globally and use the utility:
npm install -g alasql That is, to do the same as it is done in Jison, Gulp and many other Node.js utility packages?