# @sindresorhus/tsconfig

> Shared TypeScript config for my projects

Latest version **8.1.0** (published 2025-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sindresorhus/tsconfig
pnpm add @sindresorhus/tsconfig
yarn add @sindresorhus/tsconfig
bun add @sindresorhus/tsconfig
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 8.1.0 |
| Published | 2025-10-31 |
| First published | 2018-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 377 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | tsconfig, typescript, ts, config, configuration |

## Links

- npm: https://www.npmjs.com/package/@sindresorhus/tsconfig
- Repository: https://github.com/sindresorhus/tsconfig
- Homepage: https://github.com/sindresorhus/tsconfig#readme
- Issues: https://github.com/sindresorhus/tsconfig/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/@sindresorhus/tsconfig

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 8.1.0 (latest) — 2025-10-31
- 8.0.1 — 2025-08-09
- 8.0.0 — 2025-08-08
- 7.0.0 — 2024-11-25
- 6.0.0 — 2024-06-26
- 5.1.1 — 2024-06-26
- 5.1.0 — 2024-06-26
- 5.0.0 — 2023-10-06
- 4.0.0 — 2023-08-09
- 3.0.1 — 2022-05-29
- 3.0.0 — 2022-05-26
- 2.0.0 — 2021-08-25
- 1.0.2 — 2021-04-11
- 1.0.1 — 2021-03-28
- 1.0.0 — 2021-03-28
- … 11 more at https://npm.io/package/@sindresorhus/tsconfig/versions

## README

# tsconfig

> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects

This config makes TypeScript not do any polyfilling, so only use syntax and features available in the JavaScript environments you target.

## Install

```sh
npm install --save-dev @sindresorhus/tsconfig
```

*This config requires TypeScript >=5.9 and Node.js >=20.*

## Usage

`tsconfig.json`

```json
{
	"extends": "@sindresorhus/tsconfig"
}
```

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