nudeps

Generate import maps from local npm package copies for bundler-free dependency management.

34|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/nudeps/nudeps --skill nudeps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nudeps
Source: https://github.com/nudeps/nudeps/tree/main
Command: npx skills add https://github.com/nudeps/nudeps --skill nudeps

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about nudeps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use local npm dependencies in the browser without a bundler?

Import map generation for bundler-free web development maps bare specifiers to local, versioned output directories, enabling browsers to resolve npm dependencies directly without a bundler.

How does bundler-free dependency management handle CommonJS packages?

Bundler-free dependency management handles CommonJS packages by automatically detecting them and injecting a shim, allowing CJS modules to function correctly within a browser-first import map environment.

What is the best way to keep an import map updated when npm dependencies change?

The best way to keep an import map updated is to automate regeneration on dependency changes, detecting version updates and rewriting the import map files to map top-level dependencies to a versioned output directory.

Can I serve local npm packages via an import map for offline browser-first projects?

Yes, you can serve local npm packages for offline browser-first projects by copying packages to a local directory and generating an import map, eliminating the need for a bundler or network requests.

Does nudeps support aliasing for stable asset URLs in a local dependency output directory?

Yes, nudeps supports aliasing by creating unversioned symlinks in the local output directory, ensuring stable asset URLs while mapping top-level dependencies to their specific versioned paths.

How do I initialize bundler-free dependency management using an import map config?

To initialize bundler-free dependency management, run the install command to read your nudeps.js config and package.json scripts, then populate the output directory and generate the import map.