If you had to install an npm package by URL, instead of by registry name, would you mind? eg. $ npm install https://website.com/package.tgz $ yarn add https://website.com/package.tgz
-
Show this thread
-
Both clients have first-class support, caching etc. Registry packages are just tarballs after all. This would actually be faster as there's no need to hit a JSON endpoint to get the package URL
5 replies 0 retweets 21 likesShow this thread -
This Tweet is unavailable.
Replying to @techieV2
You can add on "#<SHA1HASHHERE>" to enforce the integrity of tarball URLs. In fact, it would be safer because the package author is giving you the hash, not the registry.
10:34 AM - 30 Mar 2019
1 reply
0 retweets
1 like
-
This Tweet is unavailable.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 