Rush-FS
API-aligned with Node.js fs for painless drop-in replacement in existing projects. Get multi-fold performance in heavy file operations, powered by Rust.
Why Rush-FS?
- Drop-in replacement — Same API as Node.js
fs; swap the import and go. - Faster where it matters — Recursive
readdir,glob,rm, andcpare 2–70× faster thanks to Rust’s parallel walkers. - Prebuilt binaries — No build step for users; we ship native binaries per platform.
Quick example
import { readdir, readFile, writeFile, rm } from '@rush-fs/core'
const files = await readdir('./src', { recursive: true, withFileTypes: true })
const content = await readFile('./package.json', { encoding: 'utf8' })
await writeFile('./out.txt', content)
await rm('./temp', { recursive: true, force: true })Next steps
- Quick Start — Install and first usage
- What is Rush-FS — Purpose and design
- Use Cases — When to use Rush-FS (and when not)
- Benchmarks — Performance numbers
- API — Overview and per-API docs (e.g. readdir, readFile, rm)
Links
Last updated on