# tsconfig-utils

> A collection of utilities for working with `tsconfig.json` files

Latest version **4.2.0** (published 2026-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install tsconfig-utils
pnpm add tsconfig-utils
yarn add tsconfig-utils
bun add tsconfig-utils
```

## Health

**Score 55/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.2.0 |
| Published | 2026-07-30 |
| First published | 2022-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Shigma |
| Maintainers | shigma |

## Links

- npm: https://www.npmjs.com/package/tsconfig-utils
- Repository: https://github.com/shigma/tsconfig-utils
- Issues: https://github.com/shigma/tsconfig-utils/issues
- npm.io page: https://npm.io/package/tsconfig-utils

## Dependencies (1)

- [json5](https://npm.io/package/json5.md) ^2.2.3

## Recent versions

- 4.2.0 (latest) — 2026-07-30
- 4.1.1 — 2024-10-08
- 4.1.0 — 2024-10-08
- 4.0.5 — 2024-02-04
- 4.0.4 — 2024-01-27
- 4.0.3 — 2024-01-20
- 4.0.2 — 2024-01-20
- 4.0.1 — 2024-01-20
- 4.0.0 — 2024-01-20
- 3.1.3 — 2023-06-18
- 3.1.2 — 2023-06-07
- 3.1.1 — 2023-06-07
- 3.1.0 — 2023-06-07
- 3.0.0 — 2022-11-28
- 2.0.4 — 2022-08-25
- … 6 more at https://npm.io/package/tsconfig-utils/versions

## README

# tsconfig-utils

[![npm](https://img.shields.io/npm/v/tsconfig-utils?style=flat-square)](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
```

---
_Source: https://npm.io/package/tsconfig-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
