TypeScript Path Mapping Transformer
JSON →typescript-transform-paths is a TypeScript compiler plugin that transforms module resolution paths defined in `tsconfig.json`'s `paths` or `rootDirs` options into correct relative paths within the compiled JavaScript and declaration files. It addresses a common pain point where TypeScript's path aliases are not natively resolved by Node.js or bundlers without additional configuration. The current stable version is 3.5.6, with a significant v4.0.0-beta release that transitions to ESM-only. The package sees regular maintenance releases and active development, with a beta channel for upcoming major changes. Its key differentiators include comprehensive support for both `.js` and `.d.ts` file transformations, integration with various build tools like `ts-patch`, `ts-node`, `node -r`, and NX, and the ability to define exclusion patterns for granular control.
Traffic · last 30 days ↓86% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇩🇪 Germany