No description, website, or topics provided.
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

npm-login-cmd

A simple script to login into npm from the command line, in case you don't have an interactive shell, expect or anything fancy.

Usage

export NPM_USER=john
export NPM_PASS=secret
export NPM_EMAIL=john@example.com
npx npm-login-cmd

How it works

It's a simple child process that reads/writes from/to the stdout/stdin.