One CLI unifies development, builds, testing, linting, and formatting across all your JavaScript projects. Powered by the Rspack ecosystem.
Powered by Rspack and Rsbuild, start a dev server quickly and build enterprise-grade web applications
$ rs build
Rsbuild v2.0.0
info build started...
ready built in 0.02s
File (web) Size Gzip
dist/static/js/index.js 0.20 kB 0.18 kB
dist/index.html 0.32 kB 0.24 kB
Total: 0.52 kB 0.42 kBBuild reusable JavaScript libraries with Rslib, with the flexibility to develop shared libraries, CLI tools, and components
$ rs lib --dts
Rslib v1.0.0
info build started...
ready built in 0.02s
start generating declaration files...
ready declaration files generated
File (esm) Size
dist/index.js 0.04 kBTest JavaScript with Rstest for fast feedback from local development to CI
$ rs test
Rstest v0.11.0
✓ src/utils.test.ts (2)
✓ src/app.test.ts (1)
Test Files 2 passed
Tests 3 passed
Duration 211msOne command for linting, formatting checks, and type checking to keep team standards consistent
$ rs check
start Linting...
success Lint passed in 287ms
start Checking formatting...
success Format check passed in 25ms (99 files)Bring code checks into your Git workflow while keeping your existing lint-staged configuration and Husky workflow
$ rs staged
✔ Done backing up original state!
✔ rs lint --fix
✔ rs fmt
✔ Done running tasks for staged files!
✔ Done staging changes from tasks!
✔ Done cleaning up temporary files!Generate beautiful, AI-friendly static documentation sites with Rspress and maintain docs alongside your code
$ rs doc
Rspress v2.0.0
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
start build started...
ready built in 0.18s