Package Exports
- get-npm-tarball-url
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-npm-tarball-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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