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

[feat] support npm downloads #13

Open
moshfeu opened this issue Sep 16, 2020 · 0 comments
Open

[feat] support npm downloads #13

moshfeu opened this issue Sep 16, 2020 · 0 comments

Comments

@moshfeu
Copy link
Member

moshfeu commented Sep 16, 2020

It could be nice to allow the users to see also npm stats using their api - https://github.com/npm/registry/blob/master/docs/download-counts.md.

It probably requires to change the architecture so we should create a list of "sources" (classes?) and each of them will implement its own way to fetch (implementing interface with getDownloads?) the data but all of them should returns it in the same structure (type) so the views / components can handle it the same way.

Using this architecture, we can add more and more sources.

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

1 participant