get-npm-tarball-url

Create the tarball URL of a npm package

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
get-npm-tarball-url
1162.1.07 months ago7 years agoMinified + gzip package size for get-npm-tarball-url in KB

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'

Related

License

MIT © Zoltan Kochan