3 ms·
Do businesses that run Node.js use some sort of caching proxy to protect from cases like this, or does npm make something like that difficult to implement?
by justin_oaks 5y ago
Do businesses that run Node.js use some sort of caching proxy to protect from cases like this, or does npm make something like that difficult to implement?
- ingalls 5y agoGenerally Docker. We install all required node deps during our docker build to ensure that running the platform does not require npm.
- justin_oaks 5y agoMakes sense. Using Docker would make sure you can deploy existing software. NPM being down would prevent upgrading libraries or rebuilding the Docker image, but that'd only be a problem if NPM was down for a long time.
- oweiler 5y agohttps://www.jfrog.com/confluence/display/JFROG/npm+Registry https://www.jfrog.com/confluence/display/JFROG/npm+Registry
- justin_oaks 5y agoExactly what I was looking for. The linked page even describes how to configure the npm CLI to default to the company registry.