ESM Import Resolver for Node.js
JSON →esm-resolve is a synchronous ESM import resolver for Node.js, designed to be used within development servers or build processes. Currently at version 1.0.11, it offers a stable and permissive approach to module resolution. Key differentiators include its pure JavaScript implementation, support for modern Node.js resolution features like subpath exports/imports and conditional exports, and a default behavior that rewrites to 'browser', 'import', or 'default' keys (rather than 'node'). It was developed before `import.meta.resolve()` was widely available and aims to provide a more permissive resolution experience. The library is designed to fail gracefully and also handles the removal of imports pointing purely to `.d.ts` files, simplifying TypeScript workflows. While it doesn't specify a strict release cadence, its 1.x versioning suggests a mature and stable library.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇸🇬 Singapore