# npm-relogin

> Stores tokens for multiple npm logins

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

## Install

```sh
npm install npm-relogin
pnpm add npm-relogin
yarn add npm-relogin
bun add npm-relogin
```

Provides the command `npm-relogin`.

## 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-04-29 |
| First published | 2016-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Alexey Yaroshevich |
| Maintainers | qfox |
| Keywords | npm, login, relogin |

## Links

- npm: https://www.npmjs.com/package/npm-relogin
- Repository: https://github.com/zxqfox/npm-relogin
- Homepage: https://github.com/zxqfox/npm-relogin#readme
- Issues: https://github.com/zxqfox/npm-relogin/issues
- npm.io page: https://npm.io/package/npm-relogin

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [inquirer](https://npm.io/package/inquirer.md) ^1.0.2
- [npm-email](https://npm.io/package/npm-email.md) ^1.1.1
- [configstore](https://npm.io/package/configstore.md) ^2.0.0
- [npm-cli-login](https://npm.io/package/npm-cli-login.md) 0.0.10

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-04-29

## README

# npm-relogin

Simple CLI tool to relogin as fast as possible.

Especially useful when you have few scopes in NPM.

## How it works

Tool won't store password. Even encrypted or whatever.

Instead of storing raw password tool will get auth token from NPM and store it to configuration file for futher usage.
And whenever you'll need to switch to authorized user you'll have to just run `npm-relogin` to get this auth token.

Simple.

## Installation

`npm -g i npm-relogin`

## Configuration

Just run `npm-relogin` several times and enter your credentials.
Entered data except passwords will be stored in configuration file: `~/.config/configstore/npm-relogin.json`.

## Usage

Just run `npm-relogin` again and select needed user.
And you relogged in.

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