get-npm-token
username, email and password in – token out.
var getToken = // the-token
npm install -g get-npm-tokenget-npm-token> ? npm registry https://registry.npmjs.org/> ? npm username? boennemann> ? npm email stephan@boennemann.me> ? npm password ***> the-token
The CLI securely caches answers in the npm config/os keychain (if available) so a repeated call looks like this:
> ? npm registry # prefilled > ? npm username? # prefilled > ? npm email # prefilled > # no more password required, use -f if you changed it > another-token