@aws/pdk
Version:
All documentation is located at: https://aws.github.io/aws-pdk
31 lines (18 loc) • 646 B
Markdown
[](https://travis-ci.org/pnpm/get-npm-tarball-url)
> Create the tarball URL of a npm package
```
pnpm add get-npm-tarball-url
```
```js
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'
```
- [parse-npm-tarball-url](https://github.com/pnpm/parse-npm-tarball-url) - Parse a tarball URL hosted in the npm registry
[](LICENSE) © [Zoltan Kochan](https://www.kochan.io)