Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide author info in package.json instead of NPM author #24

Open
deepu105 opened this issue Jan 21, 2016 · 2 comments
Open

Provide author info in package.json instead of NPM author #24

deepu105 opened this issue Jan 21, 2016 · 2 comments

Comments

@deepu105
Copy link

Currently the author field gives NPM user name, it would be more useful to have the author info from the package.json

@tmpvar
Copy link
Contributor

tmpvar commented Jan 21, 2016

Please explain why this would be more useful. Currently you can use (click) the npm username to filter queries on.

@deepu105
Copy link
Author

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
#24 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants