Load TypeScript compiler options from tsconfig.json, fully resolving the "extends" chain. v1.0.1 is the latest stable release (no further updates since 2017). Unlike ts-node or tsc built-in resolution, this is a standalone utility for programmatic usage. It resolves inheritance from both relative paths and node_modules packages. Only provides synchronous API. Minimalist: no caching, no validation beyond what TypeScript enforces. Ships TypeScript declarations. For Node.js >= 4.
npm install tsconfig-extendsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Load compiler options from tsconfig.json with extends resolution, handling errors.
Wrap in try/catch or validate file existence before calling.
Cache result manually if calling multiple times with same path.
Consider using @typescript-eslint/parser's built-in tsconfig resolution or tsconfig-paths for advanced needs.
Use import { load_file_sync } from 'tsconfig-extends' or const { load_file_sync } = require('tsconfig-extends');Run: npm install tsconfig-extends
Use require() or set "type": "module" in package.json or use dynamic import.
No dependency data recorded yet.