← 返回命令列表

Linux command

npm-owner 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

List package owners

npm owner ls [package-name]

Add owner

npm owner add [username] [package-name]

Remove owner

npm owner rm [username] [package-name]

说明

npm owner manages package ownership. Controls who can publish updates. The command modifies maintainers. Requires current owner privileges.

参数

ls _PKG_
List owners.
add _USER_ _PKG_
Add owner.
rm _USER_ _PKG_
Remove owner.
--help
Display help information.

FAQ

What is the npm-owner command used for?

npm owner manages package ownership. Controls who can publish updates. The command modifies maintainers. Requires current owner privileges.

How do I run a basic npm-owner example?

Run `npm owner ls [package-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does ls _PKG_ do in npm-owner?

List owners.