Don't know the right approach but articles like https://www.niels.foo/post/publishing-a-go-binary-via-npm-a-simple-approach or https://github.com/evanw/esbuild should give some hints on how to do configure the NPM package.
The ideal installation could be:
$ npm i -g @signozhq/foundry
$ foundry --help
Don't know the right approach but articles like https://www.niels.foo/post/publishing-a-go-binary-via-npm-a-simple-approach or https://github.com/evanw/esbuild should give some hints on how to do configure the NPM package.
The ideal installation could be: