# registry-info

> Get registry info (url, auth token, headers) from an arg

Latest version **1.0.0** (published 2016-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install registry-info
pnpm add registry-info
yarn add registry-info
bun add registry-info
```

Provides the command `registry-info`.

## 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 | 1.0.0 |
| Published | 2016-08-08 |
| First published | 2016-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Bjorklund |
| Maintainers | kesla |

## Links

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

## Dependencies (2)

- [registry-url](https://npm.io/package/registry-url.md) ^3.1.0
- [registry-auth-token](https://npm.io/package/registry-auth-token.md) ^3.0.1

## Recent versions

- 1.0.0 (latest) — 2016-08-08

## README

# registry-info 

Get registry info (url, auth token, headers) from an arg

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
npm install registry-info --save
```

## Usage

```js
import registryInfo from 'registry-info';

// returns an object with {registryUrl, authToken, authorization}
//  .authorization can be used in http headers
console.log(registryInfo());

// optionally a scope can be set
console.log(registryInfo(scope));

```

## Tests

```sh
npm install
npm test
```

## Dependencies

- [registry-auth-token](https://github.com/rexxars/registry-auth-token): Get the auth token set for an npm registry (if any)
- [registry-url](https://github.com/sindresorhus/registry-url): Get the set npm registry URL

## Dev Dependencies

- [babel-cli](https://github.com/babel/babel/tree/master/packages): Babel command line.
- [babel-core](https://github.com/babel/babel/tree/master/packages): Babel compiler core.
- [babel-preset-es2015](https://github.com/babel/babel/tree/master/packages): Babel preset for all es2015 plugins.
- [package-json-to-readme](https://github.com/zeke/package-json-to-readme): Generate a README.md from package.json contents
- [xo](https://github.com/sindresorhus/xo): JavaScript happiness style linter ❤️


## License

MIT

_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_

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