You used to be able to get the email address of an owner of an npm package via: GET https://registry.npmjs.org/-/user/org.couchdb.user:username
However, it is now responding with: 401 {"ok":false}
Any idea how to get it now?
use npm view
This command shows data about a package and prints it
$ npm view couchdb _npmUser
nathan <[email protected]>
or
$ npm view couchdb maintainers.email
[email protected]
You can also use npm owner ls if you want to list users who have access to modify a package and push new versions. It defaults to the package in the current directory (if any), and it also accepts an argument to list owners of the specified package, for example:
$ npm owner ls lodash
mathias <[email protected]>
jdalton <[email protected]>
bnjmnt4n <[email protected]>
https://docs.npmjs.com/cli/owner.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With