{"library":"esm-resolve","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.11","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install esm-resolve","imports":["import buildResolver from 'esm-resolve';","import { buildResolver } from 'esm-resolve';","import type { Options } from 'esm-resolve/types/external';"]},{"cmd":"yarn add esm-resolve","imports":[]},{"cmd":"pnpm add esm-resolve","imports":[]}],"homepage":null,"github":"https://github.com/samthor/esm-resolve","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esm-resolve","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/esm-resolve/compatibility"}}