# @tevm/ts-plugin

> A typescript plugin for tevm

Latest version **1.0.0-next.148** (published 2025-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tevm/ts-plugin
pnpm add @tevm/ts-plugin
yarn add @tevm/ts-plugin
bun add @tevm/ts-plugin
```

Provides the command `tevm-gen`.

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.0-next.148 |
| Published | 2025-10-04 |
| First published | 2023-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 422.8 KB |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 449 |
| Maintainers | fucory |
| Keywords | typescript, plugin, solidity, sol, tevm |

## Links

- npm: https://www.npmjs.com/package/@tevm/ts-plugin
- Repository: https://github.com/evmts/tevm-monorepo
- Homepage: https://github.com/evmts/tevm-monorepo#readme
- Issues: https://github.com/evmts/tevm-monorepo/issues
- npm.io page: https://npm.io/package/@tevm/ts-plugin

## Dependencies (8)

- [glob](https://npm.io/package/glob.md) ^11.0.3
- [solc](https://npm.io/package/solc.md) 0.8.30
- [effect](https://npm.io/package/effect.md) 3.18.1
- [minimatch](https://npm.io/package/minimatch.md) ^10.0.3
- [solidity-ast](https://npm.io/package/solidity-ast.md) ^0.4.61
- [@types/minimatch](https://npm.io/package/@types/minimatch.md) ^6.0.0
- [@tevm/base-bundler](https://npm.io/package/@tevm/base-bundler.md) ^1.0.0-next.148
- [@tevm/bundler-cache](https://npm.io/package/@tevm/bundler-cache.md) ^1.0.0-next.148

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.0-next.148 (latest) — 2025-10-04
- 1.0.0-rc.151 (rc) — 2026-05-22
- 1.0.0-next.18 (next) — 2023-12-06
- 1.0.0-next.146 — 2025-05-28
- 1.0.0-next.142 — 2025-04-20
- 1.0.0-next.140 — 2025-03-26
- 1.0.0-next.134 — 2025-03-21
- 1.0.0-next.131 — 2025-03-12
- 1.0.0-next.128 — 2025-03-08
- 1.0.0-next.124 — 2024-10-17
- 1.0.0-next.118 — 2024-09-27
- 1.0.0-next.117 — 2024-09-23
- 1.0.0-next.109 — 2024-09-01
- 1.0.0-next.108 — 2024-08-27
- 2.0.0-next.103 — 2024-07-30
- … 25 more at https://npm.io/package/@tevm/ts-plugin/versions

## README

## @tevm/ts-plugin

A typescript plugin for adding typescript support and autocomplete to your `.sol` file imports.

![image](https://user-images.githubusercontent.com/35039927/235395618-21bfd0c2-d5db-43f1-8264-2d425616fb59.png)

#### Installation

```bash [npm]
npm i @tevm/rollup-plugin @tevm/ts-plugin
```

### Configuration

- Add @tevm/ts-plugin to your `plugins` array in `compilerOptions`
- if `foundry.toml` config is not in the same directory as the ts-config pass in a relative path to the the project root as `project` config option

```json
{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@tevm/ts-plugin",
        "project": "../"
      }
    ]
  }
}
```

## License 📄

<a href="./LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a>

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