diff --git a/pages/common/npm-author.md b/pages/common/npm-author.md new file mode 100644 index 0000000000..ff6c19c2fe --- /dev/null +++ b/pages/common/npm-author.md @@ -0,0 +1,7 @@ +# npm-author + +> This command is an alias of `npm owner`. + +- View documentation for the original command: + +`tldr npm owner` diff --git a/pages/common/npm-owner.md b/pages/common/npm-owner.md new file mode 100644 index 0000000000..983155ff20 --- /dev/null +++ b/pages/common/npm-owner.md @@ -0,0 +1,16 @@ +# npm-owner + +> Manage ownership of published packages. +> More information: . + +- Add a new user as a maintainer of a package: + +`npm owner add {{username}} {{package_name}}` + +- Remove a user from a package's owner list: + +`npm owner rm {{username}} {{package_name}}` + +- List all owners of a package: + +`npm owner ls {{package_name}}`