$ npm install get-npm-tarball-url
Create the tarball URL of a npm package
pnpm add get-npm-tarball-url
import getNpmTarballUrl from 'get-npm-tarball-url'
const url = getNpmTarballUrl('foo', '1.0.0')
console.log(url)
// 'https://registry.npmjs.org/foo/-/foo-1.0.0.tgz'
© 2010 - cnpmjs.org x YWFE | Home | YWFE