2 unstable releases
0.3.12 | Jan 13, 2024 |
---|---|
0.3.11 |
|
0.2.2 | Dec 1, 2023 |
#1942 in Command line utilities
177 downloads per month
765KB
306 lines
npmcheater
Perfectly emulates npm and "installs" the specified packages to bump the download count.
NOTE: This project is for educational purposes only. Please do not abuse a benevolent service such as npmjs.
Installing
Install from Crates.io
Have Cargo Installed.
# have cargo installed
cargo install npmcheater
Build it yourself
Have Cargo Installed.
# have git installed
git clone https://github.com/DaBigBlob/npmcheater.git
cd npmcheater
#have cargo installed
cargo build --release
./target/release/npmcheater
# do whatever you will ^this binary
Usage
Usage: npmcheater [OPTIONS]
Options:
-s, --silent No output
-p, --packages <PACKAGES> Packages to bump downloads of
-m, --max-sleep-mili <DELAY> Maximum delay between two fetches in miliseconds
-h, --help Print help
-V, --version Print version
Environment Variables:
RUST_LOG Log level
Example
user@host ~# npmcheater -p libsql -p base64-js -p discord.js -m 5000
Dependencies
~7–27MB
~406K SLoC