-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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).
Metadata
Metadata
Assignees
Labels
No labels