https://github.com/shigma/tsconfig-utils
A collection of utilities for working with `tsconfig.json` files
https://github.com/shigma/tsconfig-utils
Last synced: 7 months ago
JSON representation
A collection of utilities for working with `tsconfig.json` files
- Host: GitHub
- URL: https://github.com/shigma/tsconfig-utils
- Owner: shigma
- License: mit
- Created: 2022-08-08T17:25:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T13:19:46.000Z (almost 2 years ago)
- Last Synced: 2025-08-24T17:56:07.559Z (12 months ago)
- Language: TypeScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tsconfig-utils
[](https://www.npmjs.com/package/tsconfig-utils)
A collection of utilities for working with `tsconfig.json` files.
## Usage
```ts
import { load } from 'tsconfig-utils'
// load a tsconfig.json file,
// resolving "extends" fields recursively
const config = await load('/path/to/project')
config.get('noEmit') // false
// load with additional args
// args will take precedence over tsconfig files
const config = await load(process.cwd(), [
'-p', 'tsconfig.base.json',
'--noEmit',
])
config.get('noEmit') // true
```