npmsearch
npmsearch copied to clipboard
Provide author info in package.json instead of NPM author
Currently the author field gives NPM user name, it would be more useful to have the author info from the package.json
Please explain why this would be more useful. Currently you can use (click) the npm username to filter queries on.
First of all this is a great service :)
The package authors normally provide a clear name, email and url in the author information in package.json and npm provides the same when querying for any package.json and has the npm author info in a field named _npmAuthor
When we query the npm search api via http, the author field what we get is actually the npm author and not same as the package.json author.
For example in my packages i have my name as 'Deepu KS' with my email and url, but my npm user name is 'deepu8224' and when i query npm directly i get author name which i intended for people to see by adding in the pacakge.json so i was expecting the same from npmsearch as well.
I propose additing an additional field called npmauthor with npm user name and change author to have same info as package.json author or add a new field called packageAuthor and provide this info On 21 Jan 2016 23:43, "Elijah Insua" [email protected] wrote:
Please explain why this would be more useful. Currently you can use (click) the npm username to filter queries on.
— Reply to this email directly or view it on GitHub https://github.com/solids/npmsearch/issues/24#issuecomment-173611231.