Install npm-downloads-increaser
globally using npm:
npm install -g npm-downloads-increaser
Setup configuration and run:
npm-downloads-increaser
Once you specify your configuration, this will start spamming downloads for the provided package in the npmjs registry. This will increase the popularity score of the npm package.
NOTE: The npmJS Weekly Downloads are updated once every 24 hours, so results will not be instantly visible.
Property | Description | Example |
---|---|---|
packageName | NPM package to increase the downloads of | "npm-downloads-increaser" |
numDownloads | Number of times to download the package | 100000 |
maxConcurrentDownloads | Amount of downloads to run in parallel at once | 300 |
downloadTimeout | Max time (in ms) to wait for for a download to complete | 3000 |
NOTE: slower networks may perform better with a lower maxConcurrentDownloads
and a higher downloadTimeout
Install the project using:
git clone https://github.com/lachiejames/npm-downloads-increaser.git
Open npm-downloads-increaser.config.js
from the root directory, and populate the configuration options as shown in the table above.
Installing dependencies:
yarn
Compiling to JavaScript:
yarn build
Running with Node:
yarn start
Running tests:
yarn test
Check out this blog post that describes npm-downloads-increaser
in further detail:
https://lachiejames.com/faking-downloads-for-npm-packages/