Makes AJAX (Asynchronous JavaScript and XML) calls to https://api.npmjs.org/downloads/point/{period}[/{package}]
This returns a JSON object detailing download statistics for a specified package.
The JSON object is parsed to display the statistics.
Uses Netlify for deployment at https://npm-query.netlify.com/
Get download stats for any NPM package over any time period.