# get-npm-registry-package

> Get a npm registry package

Latest version **2.0.0** (published 2018-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-npm-registry-package
pnpm add get-npm-registry-package
yarn add get-npm-registry-package
bun add get-npm-registry-package
```

Provides the command `get-npm-registry-package`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-10-24 |
| First published | 2016-07-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | David Björklund |
| Maintainers | kesla |

## Links

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

## Dependencies (4)

- [got](https://npm.io/package/got.md) ^8.3.2
- [url-join](https://npm.io/package/url-join.md) ^1.1.0
- [registry-info](https://npm.io/package/registry-info.md) ^1.0.0
- [npm-package-arg](https://npm.io/package/npm-package-arg.md) ^4.2.0

## Recent versions

- 2.0.0 (latest) — 2018-10-24
- 1.0.7 — 2018-01-03
- 1.0.6 — 2018-01-03
- 1.0.5 — 2016-08-08
- 1.0.4 — 2016-07-14
- 1.0.3 — 2016-07-06
- 1.0.2 — 2016-07-05
- 1.0.1 — 2016-07-02
- 1.0.0 — 2016-07-02

## README

# getNpmRegistryPackage

Get a npm regsitry package, an instance of the documents saved in the registry db.

## Features
* Uses registry set in `.npmrc`
* Supports scoped packages
* Uses auth token if possible

## library

```shell
npm install [--save] get-npm-registry-package
```

```js
import getNpmRegistryPackage from 'get-npm-registry-package';

getNpmRegistryPackage('@foo/bar')
  .then(json => console.log(json));
```

## cli

```shell
npm install -g get-npm-registry-package

get-npm-registry-package @foo/bar
```

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