# @taqueria/plugin-contract-types

> This plugin provides a `taq generate types` command which will generate and export TypeScript types from compiled Michelson smart contracts. These generated types then work with your IDE and Taquito, providing type safety and an improved code authoring ex

Latest version **0.81.0** (published 2026-01-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @taqueria/plugin-contract-types
pnpm add @taqueria/plugin-contract-types
yarn add @taqueria/plugin-contract-types
bun add @taqueria/plugin-contract-types
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.81.0 |
| Published | 2026-01-07 |
| First published | 2022-01-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mweichert, winstone-ochieng, asutosh.tt |

## Links

- npm: https://www.npmjs.com/package/@taqueria/plugin-contract-types
- npm.io page: https://npm.io/package/@taqueria/plugin-contract-types

## Dependencies (7)

- [bn.js](https://npm.io/package/bn.js.md) ^5.2.1
- [fast-glob](https://npm.io/package/fast-glob.md) ^3.3.3
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^9.3.1
- [@taquito/signer](https://npm.io/package/@taquito/signer.md) 24.0.0-RC.0
- [@taquito/taquito](https://npm.io/package/@taquito/taquito.md) 24.0.0-RC.0
- [@taqueria/node-sdk](https://npm.io/package/@taqueria/node-sdk.md) 0.81.0
- [@taquito/michel-codec](https://npm.io/package/@taquito/michel-codec.md) 24.0.0-RC.0

## Recent versions

- 0.81.0 (latest) — 2026-01-07
- 0.81.3 (dev) — 2026-01-10
- 0.28.5 (next) — 2023-04-03
- 0.27.2-alpha (preview) — 2022-12-09
- 0.81.1 — 2026-01-09
- 0.80.1 — 2026-01-07
- 0.80.0 — 2026-01-07
- 0.79.1 — 2026-01-07
- 0.79.0 — 2026-01-05
- 0.78.17 — 2026-01-05
- 0.78.16 — 2026-01-05
- 0.78.15 — 2026-01-04
- 0.78.14 — 2026-01-04
- 0.78.13 — 2026-01-02
- 0.78.11 — 2026-01-02
- … 1607 more at https://npm.io/package/@taqueria/plugin-contract-types/versions

## README

# Taqueria Contract Types Plugin

This plugin provides a `taq generate types` command which will generate and export TypeScript types from compiled Michelson smart contracts. These generated types then work with your IDE and Taquito, providing type safety and an improved code authoring experience

Benefits of using generated types:
- Static types used to call smart contract methods are checked at compile time, improving code reliability
- Generated types enable auto-completion and syntax highlighting in your IDE
- Developing apps with Taquito is faster and more reliable
- The VS Code Extension provides tooltip hints for parameter types used to call a smart contract method
- Calling smart contract methods with types is done directly, removing the need for utility methods 
- Simplifies your code and improves readability

For more information, please see our documentation for the [Taqueria Contract Types plugin](https://taqueria.io/docs/plugins/plugin-contract-types/)

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