# @tsconfig/esm

> A base TSConfig for working with ESM.

Latest version **1.0.5** (published 2023-10-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2023-10-07 |
| First published | 2022-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7882 |
| Maintainers | orta, typescript-deploys |
| Keywords | tsconfig, esm |

## Links

- npm: https://www.npmjs.com/package/@tsconfig/esm
- 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/esm

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

- 1.0.5 (latest) — 2023-10-07
- 1.0.4 — 2023-06-28
- 1.0.3 — 2023-04-21
- 1.0.2 — 2022-07-22
- 1.0.1 — 2022-06-15
- 1.0.0 — 2022-02-15

## README

### A base TSConfig for working with ESM.

Add the package to your `"devDependencies"`:

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

Add to your `tsconfig.json`:

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

---

The `tsconfig.json`: 

```jsonc
{
  "_deprecated": true,
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "ESM",

  "compilerOptions": {
    "module": "es2022",
    "moduleResolution": "bundler",

    "verbatimModuleSyntax": true
  }
}

```

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

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