Skip to content

[feat] support npm downloads #13

Description

@moshfeu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions