Coder Social home page Coder Social logo

perry-mitchell / npm-user-switch Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 0.0 242 KB

Easy user account switching for those with multiple npm environments

License: MIT License

JavaScript 100.00%
npm npm-publish account-management user-management login

npm-user-switch's Introduction

npm-user-switch

Easily switch NPM user accounts

npm version Build Status

npm-user-switch menu

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 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:

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.

npm-user-switch's People

Contributors

perry-mitchell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npm-user-switch's Issues

Bypass password?

Is it possible to bypass the password input? I switch accounts very often during the day and it gets very tedious to re-type it every time.

By the way, this is an awesome module, really helps me jump around between 3 different accounts and makes my life a lot easier. Really appreciate it.

Error when no .npmrc exists

On windows using MINGW through Vscode:

A fatal error has occurred: ENOENT: no such file or directory, open 'C:\Users\x\.npmrc'

The file doesn't exist.

Add support for showing which account is in use.

Thank you for your project, it is really useful for me.

Can you add a future for showing which account is in use?
Mostly, I think I know that I am using one account but not quite sure about that, so if I can check it, it will save me lots of time for typing the password and choosing the account.

Thank you so much.

How to delete an account?

Hey, first let me thank you for this app. It's sooo useful when I need to switch between my personnal and society NPM account ๐Ÿ‘

After ESLint virus, npm decided to revoke all tokens as a security measure.

I wanted to delete and re-add all accounts into npm-user-switch, but I don't find a way to delete thoses accounts.

Does this feature exist?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.