# get-npm-tarball-url

> Create the tarball URL of a npm package

Latest version **2.1.0** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-npm-tarball-url
pnpm add get-npm-tarball-url
yarn add get-npm-tarball-url
bun add get-npm-tarball-url
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2023-11-07 |
| First published | 2017-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.17 |
| Dependencies | 0 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Zoltan Kochan |
| Maintainers | zkochan |
| Keywords | npm, url, tarball |

## Links

- npm: https://www.npmjs.com/package/get-npm-tarball-url
- Repository: https://github.com/pnpm/get-npm-tarball-url
- Homepage: https://github.com/pnpm/get-npm-tarball-url#readme
- Issues: https://github.com/pnpm/get-npm-tarball-url/issues
- npm.io page: https://npm.io/package/get-npm-tarball-url

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 2.1.0 (latest) — 2023-11-07
- 3.0.0-0 (next) — 2021-04-03
- 2.0.3 — 2021-11-22
- 2.0.2 — 2021-01-21
- 2.0.1 — 2018-01-08
- 2.0.0 — 2017-04-09
- 1.0.1 — 2017-04-07
- 1.0.0 — 2017-03-17
- 0.0.0 — 2017-03-17

## README

# get-npm-tarball-url

[![Build Status](https://travis-ci.org/pnpm/get-npm-tarball-url.svg?branch=master)](https://travis-ci.org/pnpm/get-npm-tarball-url)

> Create the tarball URL of a npm package

## Installation

```
pnpm add get-npm-tarball-url
```

## Usage

```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'
```

## Related

- [parse-npm-tarball-url](https://github.com/pnpm/parse-npm-tarball-url) - Parse a tarball URL hosted in the npm registry

## License

[MIT](LICENSE) © [Zoltan Kochan](https://www.kochan.io)

---
_Source: https://npm.io/package/get-npm-tarball-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
