paixaop / node-sodium

Port of the lib sodium encryption library to Node.js
MIT License
351 stars 126 forks source link

How to pre-build Node Sodium? #158

Open dbtlr opened 4 years ago

dbtlr commented 4 years ago

I'm not sure if this is the right place to ask this question, but we're running into some extreme build lag due to our use of node-sodium, because of the time it takes Travis to perform an NPM install.

One thing I wanted to try doing was create a pre-built node-sodium in a privately controlled repo within my organization, similar to how they are maintained for Windows, but I'm not familiar enough with how I might do something like this.

Are there any existing guides or documentation that could teach me how we could accomplish something like this. I'd much rather incur the overhead of keeping a lib up to date, rather than slow down our dev process, if there is a way to do it.

Thanks!