Re:Show HN: Command line task management tool (Weekend Project)
by niggler on Sunday February 17, 2013 @08:42PM
(#5237643)
I haven't tried in windows, but the recommended way to handle binaries is through the `bin` field in package.json (and this technique doesn't care about the shebang because it doesn't run the script directly using the OS). For example, in the `xlsx` module:
"bin": { "xlsx2csv": "./bin/xlsx2csv.njs" },
https://github.com/Niggler/js-xlsx/blob/master/package.json#...
Relevant doc: https://npmjs.org/doc/json.html#bin