# @tsconfig/node18

> A base TSConfig for working with Node 18.

Latest version **18.2.7** (published 2026-08-15) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 18.2.7 |
| Published | 2026-08-15 |
| First published | 2022-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 7879 |
| Maintainers | orta, typescript-deploys |
| Keywords | tsconfig, node18 |

## Links

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

## 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

- 18.2.7 (latest) — 2026-08-15
- 18.2.6 — 2025-11-18
- 18.2.5 — 2025-11-13
- 18.2.4 — 2024-03-27
- 18.2.3 — 2024-03-24
- 18.2.2 — 2023-09-13
- 18.2.1 — 2023-08-22
- 18.2.0 — 2023-06-28
- 2.0.1 — 2023-05-12
- 2.0.0 — 2023-04-18
- 1.0.3 — 2023-04-18
- 1.0.2 — 2023-04-18
- 1.0.1 — 2022-06-11
- 1.0.0 — 2022-04-25

## README

### A base TSConfig for working with Node 18.

Add the package to your `"devDependencies"`:

```sh
npm install --save-dev @tsconfig/node18
yarn add --dev @tsconfig/node18
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node18/tsconfig.json"
```

---

The `tsconfig.json`: 

```jsonc
{
  "$schema": "https://www.schemastore.org/tsconfig",

  "_version": "18.2.0",

  "compilerOptions": {
    "lib": ["es2023"],
    "module": "node16",
    "target": "es2022",
    "types": ["node"],

    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "moduleResolution": "node16"
  }
}

```

You can find the [code here](https://github.com/tsconfig/bases/blob/master/bases/node18.json).

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