npm owner ls <package name> npm owner add <user> <package name> npm owner rm <user> <package name>
- ls: List all the users who have access to modify a package and push new versions. Handy when you need to know who to bug for help.
- add: Add a new user as a maintainer of a package. This user is enabled to modify metadata, publish new versions, and add other owners.
- rm: Remove a user from the package owner list. This immediately revokes their privileges.
Note that there is only one level of access. Either you can modify a package, or you can't. Future versions may contain more fine-grained access levels, but that is not implemented at this time.
Default: Standard Output FD (1)
The file descriptor (integer) or stream object where npm will write
"normal" output. For instance, the
view commands write their
When using npm programmatically, you may want to provide a FileWriteStream, or some other form of WritableStream.
The base URL of the npm package registry.
A base-64 encoded "user:pass" pair. This is created by npm-adduser(1).
If your config file is ever corrupted, you can set this manually by doing:
Once the configuration is parsed, the
_auth config is split into
_password. This is the part before the ":"