Have npm globally install OS specific executables


(Shaun Warman) #1

It would be great to use something like pkg (https://github.com/zeit/pkg) to package up code as a single binary with baked in environment variables for specific targets (linux, macos, windows) and upload those to NPM. Then when the user wants to globally install the executable, they get their OS flavor only.