npm-org.1 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .TH "NPM\-ORG" "1" "August 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-org\fR \- Manage orgs
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm org set <orgname> <username> [developer | admin | owner]
  9. npm org rm <orgname> <username>
  10. npm org ls <orgname> [<username>]
  11. .fi
  12. .RE
  13. .SS Example
  14. .P
  15. Add a new developer to an org:
  16. .P
  17. .RS 2
  18. .nf
  19. $ npm org set my\-org @mx\-smith
  20. .fi
  21. .RE
  22. .P
  23. Add a new admin to an org (or change a developer to an admin):
  24. .P
  25. .RS 2
  26. .nf
  27. $ npm org set my\-org @mx\-santos admin
  28. .fi
  29. .RE
  30. .P
  31. Remove a user from an org:
  32. .P
  33. .RS 2
  34. .nf
  35. $ npm org rm my\-org mx\-santos
  36. .fi
  37. .RE
  38. .P
  39. List all users in an org:
  40. .P
  41. .RS 2
  42. .nf
  43. $ npm org ls my\-org
  44. .fi
  45. .RE
  46. .P
  47. List all users in JSON format:
  48. .P
  49. .RS 2
  50. .nf
  51. $ npm org ls my\-org \-\-json
  52. .fi
  53. .RE
  54. .P
  55. See what role a user has in an org:
  56. .P
  57. .RS 2
  58. .nf
  59. $ npm org ls my\-org @mx\-santos
  60. .fi
  61. .RE
  62. .SS Description
  63. .P
  64. You can use the \fBnpm org\fP commands to manage and view users of an organization\.
  65. It supports adding and removing users, changing their roles, listing them, and
  66. finding specific ones and their roles\.
  67. .SS See Also
  68. .RS 0
  69. .IP \(bu 2
  70. Documentation on npm Orgs \fIhttps://docs\.npmjs\.com/orgs/\fR
  71. .RE