Conversation
|
The problem is once we distribute it via npm, it may be installed by users on Windows as well and then that can open floodgate of windows compatibility issues. I am open to more ideas on how to address this (ease of distribution vs OS compatibility). For Mac/Linux, we are already publishing to homebrew for easier installation. https://formulae.brew.sh/formula/has |
|
Forgive my ignorance but isn't npm for.....node packages? Shipping a bash script that has 0 node.js code associated with it feels really weird to me, and kind of just poluting npm's package registry. It makes about as much sense as (somehow) creating a Rust crate for it. The whole appeal of What I would suggest instead is make |
Hi, I’ve made it compatible with
npm install.You can publish it using
make npm.( It works on Linux but not on Mac/BSD. Feel free to discard it. )
Once you merge, I will remove my test package from npm:
https://www.npmjs.com/package/@noooooooode/has