Show HN: Command line task management tool (Weekend Project)
1–10 of 16 posts
Re: Show HN: Command line task management tool (Weekend Project)
#2Re: Show HN: Command line task management tool (Weekend Project)
#3Re: Show HN: Command line task management tool (Weekend Project)
#4Is github down for maintenance?
Re: Show HN: Command line task management tool (Weekend Project)
#5Is github down for maintenance?
Re: Show HN: Command line task management tool (Weekend Project)
#6Re: Show HN: Command line task management tool (Weekend Project)
#7Nice work. Btw, I don't think you need to add node_modules to your repo, at least colors is already on npmjs.org and you can use package.json and NPM to distribute node.js 'env' enabled binaries, it should ease the configuration instructions. Hope this helps :)
Re: Show HN: Command line task management tool (Weekend Project)
#8Nice work. Btw, I don't think you need to add node_modules to your repo, at least colors is already on npmjs.org and you can use package.json and NPM to distribute node.js 'env' enabled binaries, it should ease the configuration instructions. Hope this helps :)
Thank you. I have just started with node, so your advice is valuable. Do you know if files with '#!/bin/node' (or was it '#!/bin/env/node') work in windows when published through npm?
"bin": { "xlsx2csv": "./bin/xlsx2csv.njs" },
https://github.com/Niggler/js-xlsx/blob/master/package.json#...
Relevant doc: https://npmjs.org/doc/json.html#bin
Re: Show HN: Command line task management tool (Weekend Project)
#9Earlier quoted context omitted.
Thank you. I have just started with node, so your advice is valuable. Do you know if files with '#!/bin/node' (or was it '#!/bin/env/node') work in windows when published through npm?
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
Re: Show HN: Command line task management tool (Weekend Project)
#10Nice work. Btw, I don't think you need to add node_modules to your repo, at least colors is already on npmjs.org and you can use package.json and NPM to distribute node.js 'env' enabled binaries, it should ease the configuration instructions. Hope this helps :)
Thank you. I have just started with node, so your advice is valuable. Do you know if files with '#!/bin/node' (or was it '#!/bin/env/node') work in windows when published through npm?