get-npm-tarball-url
v2.1.0
Published
Create the tarball URL of a npm package
Downloads
8,978,530
Readme
get-npm-tarball-url
Create the tarball URL of a npm package
Installation
pnpm add get-npm-tarball-url
Usage
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'
Related
- parse-npm-tarball-url - Parse a tarball URL hosted in the npm registry