You can use npm view [package name] dist.tarball which will return the URL of the compressed package file.
Here’s an example using wget to download the tarball:
wget $(npm view lodash dist.tarball)
You can use npm view [package name] dist.tarball which will return the URL of the compressed package file.
Here’s an example using wget to download the tarball:
wget $(npm view lodash dist.tarball)