Skip to content

Download stats #10

Open
Open

Description

@walling

What about including download stats as a parameter correlating to usage of a given module?

The raw data for node-modules package: http://isaacs.iriscouch.com/downloads/_design/app/_view/pkg?group_level=2&start_key=%5B%22node-modules%22%5D&end_key=%5B%22node-modules%22%2C%7B%7D%5D

Getting the data using request library:

request('http://isaacs.iriscouch.com/downloads/_design/app/_view/pkg', {
  json: true,
  qs: {
    group_level: '2',
    start_key: JSON.stringify([name]),
    end_key: JSON.stringify([name, {}])
  }
}, function(error, response, body) {
  // ...
});

The stats should be aggregated (per week, per month, per year).

Activity

  1. pvorb commented on Jan 24, 2014

    @pvorb

    You can see the download stats here: http://npm-stat.com/

  2. espadrine commented on Feb 14, 2014

    @espadrine

    @pvorb I receive the following message for the request and for the localeval libraries (and presumably, for many more):

    An error occured. Please try to reload the page or contact me at paul@vorba.ch if that doesn't help.

  3. pvorb commented on Feb 14, 2014

    @pvorb

    @espadrine see npm/npm-www#328

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions