Skip to content

Instantly share code, notes, and snippets.

@soldair
Created September 5, 2017 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save soldair/f60a9f888555de07d3557c9de2600e91 to your computer and use it in GitHub Desktop.
Save soldair/f60a9f888555de07d3557c9de2600e91 to your computer and use it in GitHub Desktop.
make a read only npm token
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