Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/perry-mitchell/npm-user-switch

Easy user account switching for those with multiple npm environments
https://github.com/perry-mitchell/npm-user-switch

account-management login npm npm-publish user-management

Last synced: 3 months ago
JSON representation

Easy user account switching for those with multiple npm environments

Awesome Lists containing this project

README

        

# npm-user-switch

> Easily switch NPM user accounts

[![npm version](https://badge.fury.io/js/npm-user-switch.svg)](https://www.npmjs.com/package/npm-user-switch) [![Build Status](https://travis-ci.org/perry-mitchell/npm-user-switch.svg?branch=master)](https://travis-ci.org/perry-mitchell/npm-user-switch)

![npm-user-switch menu](https://raw.githubusercontent.com/perry-mitchell/npm-user-switch/master/screenshot.jpg)

## About
Both my work and my personal development utilise NPM accounts. Sometimes I need to easily switch between them, and entering their different passwords is tiresome. Using `npm-user-switch`, I can easily use one master password to manage logging in to any number of accounts.

The account information is encrypted using [**Buttercup**](https://buttercup.pw) and stored locally. No account passwords are stored - only the auth token provided by NPM (stored by NPM in `.npmrc` in your home directory).

## Installation
`npm-user-switch` should be installed globally:

```shell
npm install npm-user-switch -g
```

_You may need `sudo` for the above command to work on some systems._

## Usage
Simply execute `npm-user-switch` to start the program.