Hi Matt, the pre-built binaries will be used by default when you install the library via npm install; it only falls back to compilation via node-gyp if no binaries are available for your system.
I just tried this out on my personal device and it’s working great, thank you!
For use on our corporate intranet, we have a need to mirror these binaries inside our firewall. Other projects with native dependencies provide environment variables/npm configuration parameters, such as node-sass: GitHub - sass/node-sass: Node.js bindings to libsass
Is this achievable with the kerberos module? If not, would you be open to adding it (or accepting a PR with this functionality)?
Glad to help! Yes this is possible via prebuild-install, which the kerberos module uses to install prebuilds. You need to add a line like this to .npmrc before running npm install:
If you think this is a feasible approach, I’d be happy to help build this out and submit a PR; I’d prefer to do this work than stand up and maintain a mirror of binaries inside my firewall