Created
September 5, 2017 20:46
-
-
Save soldair/f60a9f888555de07d3557c9de2600e91 to your computer and use it in GitHub Desktop.
make a read only npm token
This file contains 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 -sLi -X PUT -H 'content-type: application/json' -d '{"name": "USERNAME", "token": true, "password": "PASSWORD", "readonly": true, "email": "EMAIL"}' 'https://registry.npmjs.org/-/user/org.couchdb.user:USERNAME' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment