Dum: An NPM scripts runner written in Rust

Dum: An NPM scripts runner written in Rust

dum replaces npm recede and npx.
As a change of waiting 200ms on your npm client to commence, this might commence today.

💛 That it is seemingly you’ll advantage the creator change into a fat-time commence-offer maintainer by sponsoring him on GitHub.

CleanShot 2021-11-20 at 15 23 54@2x


That is written in Rust! (Or any compile-to-native language).

Benchmark (hyperfine "dum foo" "npm recede foo" --warmup 10):

Recount Point out [ms] Min [ms] Max [ms] Relative
dum foo 41.7 ± 1.2 39.8 44.6 1.00
npm recede foo 333.7 ± 2.0 330.0 336.0 8.01 ± 0.23



brew set Up egoist/faucet/dum


curl -sSL | sh


GitHub Releases

Rep a free up manually and pass it to /usr/native/bin manually.


dum [...args_to_forward]: Crawl npm scripts or scripts in node_modules/.bin, cherish myth recede, npm recede, npx.

In expose so that you can scamper flags to dum itself, cherish the -c flag to commerce directory, potentialities are you’ll devour to aloof put it sooner than the script establish, cherish dum -c one other/directory script_name --forward some_flag.


dum some-npm-script

dum some-npm-script --flags will --be forwarded
# Treasure npx, nonetheless mush sooner
dum some-npm-equipment-cli-establish --flags will --be forwarded

# Swap working directory
dum -c programs/sub-equipment receive

# Extra
dum --advantage

Install Packages

Dum is no longer a equipment manager but, nonetheless we forward set Up, add, expend commands to npm, pnpm and myth robotically:

# Crawl `npm i` or `myth` or `pnpm i` reckoning on the venture
dum set Up # or `dum i`
# Treasure above nonetheless add programs
dum add react vue -D

dum expend react vue



I are seeking to are attempting to learn Rust so I made this. Impressed by bun.





Read More

About the author: Vanic
“Simplicity, patience, compassion. These three are your greatest treasures. Simple in actions and thoughts, you return to the source of being. Patient with both friends and enemies, you accord with the way things are. Compassionate toward yourself, you reconcile all beings in the world.” ― Lao Tzu, Tao Te Ching

Get involved!

Get Connected!
One of the Biggest Social Platform for Entrepreneurs, College Students and all. Come and join our community. Expand your network and get to know new people!


No comments yet
Knowasiak We would like to show you notifications so you don't miss chats & status updates.
Allow Notifications