Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
npm REST API endpoint for package downloads

npm downloads API endpoint:

https://api.npmjs.org/downloads/range/{start_date}:{end_date}/{package_name}

Where {start_date} and {end_date} are in the form yyyy-mm-dd, and {end_date} is optional.

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