npm-owner.1 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .TH "NPM\-OWNER" "1" "August 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-owner\fR \- Manage package owners
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm owner add <user> [<@scope>/]<pkg>
  9. npm owner rm <user> [<@scope>/]<pkg>
  10. npm owner ls [<@scope>/]<pkg>
  11. aliases: author
  12. .fi
  13. .RE
  14. .SS Description
  15. .P
  16. Manage ownership of published packages\.
  17. .RS 0
  18. .IP \(bu 2
  19. ls:
  20. List all the users who have access to modify a package and push new versions\.
  21. Handy when you need to know who to bug for help\.
  22. .IP \(bu 2
  23. add:
  24. Add a new user as a maintainer of a package\. This user is enabled to modify
  25. metadata, publish new versions, and add other owners\.
  26. .IP \(bu 2
  27. rm:
  28. Remove a user from the package owner list\. This immediately revokes their
  29. privileges\.
  30. .RE
  31. .P
  32. Note that there is only one level of access\. Either you can modify a package,
  33. or you can't\. Future versions may contain more fine\-grained access levels, but
  34. that is not implemented at this time\.
  35. .P
  36. If you have two\-factor authentication enabled with \fBauth\-and\-writes\fP then
  37. you'll need to include an otp on the command line when changing ownership
  38. with \fB\-\-otp\fP\|\.
  39. .SS See Also
  40. .RS 0
  41. .IP \(bu 2
  42. npm help publish
  43. .IP \(bu 2
  44. npm help registry
  45. .IP \(bu 2
  46. npm help adduser
  47. .IP \(bu 2
  48. npm help disputes
  49. .RE