What problem does it solve?
Nudeps solves the challenge of bundler-free dependency management by copying npm packages to a local, versioned output directory and generating an import map that maps bare specifiers to local paths, enabling offline, browser-first projects to run without a bundler.
Core Features & Use Cases
- Local-first deployment: packages are copied to a local directory and served via an import map.
- Automatic import map updates: changes in dependencies trigger map regeneration and file writes.
- CJS support and aliasing: detects CommonJS packages and injects a shim; creates unversioned symlinks for stable asset URLs.
Quick Start
Run npx nudeps install to initialize, then npm install your dependencies to populate the output directory and import map.