Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sarvex/dum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation






dum replaces npm run.
Instead of waiting 200ms for your npm client to start, it will start immediately.
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


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




How

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

Install

If you are a Rust user:

cargo install dum

Or download a release and move it to /usr/local/bin manually.

PR welcome for adding a shell script so you can install dum with a single curl command.

Usage

dum some-npm-script

dum some-npm-script --flags will --be forwareded

# Run `npm i` or `yarn` or `pnpm i` depending on the project
dum install # or `dum i`
# Like above but add packages
dum add react vue -D

# Change working directory
dum -c packages/sub-package build

# More
dum --help

Limitations

Inspiration

I want to try and learn Rust so I made this. Inspired by bun.

Sponsors

sponsors

License

MIT © EGOIST

About

An npm scripts runner written in Rust.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.5%
  • JavaScript 0.5%