npm-users

1.1.4 • Public • Published

npm user manager

Travis Codecov npm

About

npm-users is a package that allows you to have multiple npm users on the same machine. When you install the package, you will be able to run npm-users add <alias> which will log you into npm and create an alias for your .npmrc file. Each time you add a new user, another alias is added. You can then easily switch between users by simply running npm-users list and npm use <alias>.

This package was born out of the frustrations of having to log in to personal / work accounts.

Installation

npm i npm-users -g

Use

Usage: npm-users [options]
 
 
Options:
 
  a, add <alias>     Add user
  r, remove <alias>  Remove user
  u, use <alias>     Use user
  l, list            List users
  w, whoami          Current logged in user
  -h, --help         output usage information

Readme

Keywords

none

Package Sidebar

Install

npm i npm-users

Weekly Downloads

2

Version

1.1.4

License

ISC

Unpacked Size

5.5 kB

Total Files

11

Last publish

Collaborators

  • nathanmahdavi