Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 2.7 KB

README.md

File metadata and controls

85 lines (53 loc) · 2.7 KB

npm-downloads-increaser

Build Status codecov semantic-release

Running from the command line

Installing

Install npm-downloads-increaser globally using npm:

npm install -g npm-downloads-increaser

Running

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.

Configuration options

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

Demo

Video demo

Running in TypeScript

Installing

Install the project using:

git clone https://github.com/lachiejames/npm-downloads-increaser.git

Setting up your configuration

Open npm-downloads-increaser.config.js from the root directory, and populate the configuration options as shown in the table above.

Running locally

Installing dependencies:

yarn

Compiling to JavaScript:

yarn build

Running with Node:

yarn start

Running tests:

yarn test

More info

Check out this blog post that describes npm-downloads-increaser in further detail: https://lachiejames.com/faking-downloads-for-npm-packages/