Created
November 5, 2017 23:55
-
-
Save armand1m/2dcda69d56cd052f59ee7a0b34d162ef to your computer and use it in GitHub Desktop.
Login NPM Registry (useful for getting a token without having to `npm login`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s \ | |
-H "Accept: application/json" \ | |
-H "Content-Type:application/json" \ | |
-X PUT --data '{ "name": "username_user", "password": "password_here" }' \ | |
https://registry.npmjs.org/-/user/org.couchdb.user:username_user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment