JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1513715
  • Score
    100M100P100Q210396F
  • License MIT

Create the tarball URL of a npm package

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

Build Status

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'

License

MIT © Zoltan Kochan