Skip to content

Repository files navigation

Neexp

Neexp

Ultra-fast Monorepo Build Tool with Tiered Caching

NPMRustMIT

FeaturesInstallationUsageBenchmarksArchitecture


⚡ Features

FeatureDescription
🚀 20x FasterRust-powered execution, faster than Turbo/Nx
🧠 AST-Aware HashingIgnores comments and whitespace changes
🔗 Symbol-Level TrackingOnly rebuilds files with changed exports
💾 Tiered CachingLocal → P2P (LAN) → Cloud (S3/R2)
🎨 Beautiful TUIReal-time task dashboard with progress
📦 Zero ConfigWorks with any monorepo structure

📦 Installation

# npm
npm install -g neexp
# pnpm
pnpm add -g neexp
# bun
bun add -g neexp

🚀 Usage

# Run any task
neexp build
neexp dev
neexp test# Run on all packages
neexp build --all
# Filter by package
neexp build --filter=web
# Smart rebuild (symbol-level)
neexp build --symbols
# Parallel with concurrency limit
neexp test --all -c 4

Special Commands

neexp --graph # Show dependency graph
neexp --list # List all packages
neexp --info # Project information
neexp --login # Setup cloud cache (S3/R2)
neexp --prune # Clean cache

🏎️ Benchmarks

ScenarioTurboNxNeexp
Cold build10s12s8s
Cache hit50ms80ms12ms
Comment changerebuildrebuildskip
Symbol changeall depsall depsaffected only

Benchmarks on 100-package monorepo, M1 MacBook Pro


🏗️ Architecture

neexp/
├── crates/
│ ├── neexp-core/ # Core: Hasher, TaskRunner, DepGraph, SymbolGraph
│ ├── neexp-daemon/ # Background: Watcher, P2P, State
│ └── neexp-cli/ # CLI: Commands, TUI
└── npm/ # NPM distribution

Cache Tiers

┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ L1: RAM │ ──▶ │ L2: sled │ ──▶ │ L3: P2P │ ──▶ Cloud
│ (1ms) │ │ (5ms) │ │ (10-50ms) │ (S3/R2)
└─────────────┘ └─────────────┘ └─────────────┘

☁️ Cloud Cache Setup

# Interactive setup
neexp --login
# Manual config (~/.neexp/config.json)
{
"cloud": {
"type": "s3",
"bucket": "my-cache",
"region": "auto",
"endpoint": "https://xxx.r2.cloudflarestorage.com"
}
}

Supports: AWS S3, Cloudflare R2, MinIO, any S3-compatible storage.


🔧 Requirements

  • Node.js 18+
  • Package Manager: npm, pnpm, yarn, or bun
  • Monorepo: Workspaces configured in package.json

📄 License

MIT © Neexjs


Made with ❤️ by the Neexp team

GitHubNPM

About

Build system monorepo optimized for JavaScript and TypeScript, written in Rust

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages