You can install this package by typing the following command in the command line :-
npm i weekly-downloads
Then, you can require the package in your code like:-
const weeklyDownloads = require("weekly-downloads")
So, what this package basically does is to console.log the number of weekly downloads of a npm package.
For example , if you want to see the number of weekly downloads of express you call this package and pass the package name (in this case, express) as a parameter
The code for performing the above action :-