{"library":"tsconfig-paths","type":"library","category":null,"description":"tsconfig-paths is a utility that provides runtime support for TypeScript's path mapping feature, allowing Node.js to resolve modules based on the `paths` configuration in `tsconfig.json`. This addresses the common issue where TypeScript compiles code successfully using path aliases (e.g., `@lib/utils`), but Node.js fails at runtime because it doesn't understand these mappings. The package, currently at version 4.2.0, functions by hooking into Node.js's module resolution system, typically via a `--require` flag (e.g., `node -r tsconfig-paths/register`) or through a programmatic API. While TypeScript handles `paths` during compilation, tsconfig-paths ensures these aliases work in development environments with `ts-node` or directly with compiled JavaScript, making it a critical tool for maintaining clean import paths and structured projects without additional build steps or manual path adjustments for runtime execution. Its release cadence is generally tied to bug fixes and compatibility updates, not a strict schedule.","language":"javascript","status":"active","version":"4.2.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tsconfig-paths","imports":["require('tsconfig-paths/register')","import { register } from 'tsconfig-paths'","import { createMatchPath } from 'tsconfig-paths'"]},{"cmd":"yarn add tsconfig-paths","imports":[]},{"cmd":"pnpm add tsconfig-paths","imports":[]}],"homepage":null,"github":"https://github.com/dividab/tsconfig-paths","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tsconfig-paths","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/tsconfig-paths/compatibility"}}