3 ms·
The NPM registry's API documentation seems to be wrong, or deliberately semi-vague, as well. It states (emphasis mine) > maintainers: and array of objects con
by politelemon 5y ago
The NPM registry's API documentation seems to be wrong, or deliberately semi-vague, as well. It states (emphasis mine)
> maintainers: and array of objects containing author objects as listed in package.json
> author: object with name, email, and or url of author as listed in package.json
However, the email address against the user's profile gets listed even if your package.json does not contain an email address.
Example: https://registry.npmjs.org/leftpad/ https://registry.npmjs.org/leftpad/
- qxmat 5y agoleftpad != left-pad Tom MacWright's email - https://registry.npmjs.org/leftpad/ https://registry.npmjs.org/leftpad/ azer - https://registry.npmjs.org/left-pad/ https://registry.npmjs.org/left-pad/
- andrew_ 5y agoThe registry's docs are famously incorrect and out of date. I don't have the time to enumerate all of them that are incorrect, but a great example are the docs around claiming dead or abandoned packages and orgs - that document is still discoverable via Google, and last I checked, was still on the main docs site.