# @cloudflare/types

> Cloudflare API data types and various type helpers.

Latest version **7.0.1** (published 2026-07-27) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @cloudflare/types
pnpm add @cloudflare/types
yarn add @cloudflare/types
bun add @cloudflare/types
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.0.1 |
| Published | 2026-07-27 |
| First published | 2018-12-03 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Robert Cepa <rcepa@cloudflare.com> |
| Maintainers | cf-ci-write, dash_service_account, wrangler-publisher, cfpriveng, cf-npm-publish |

## Links

- npm: https://www.npmjs.com/package/@cloudflare/types
- npm.io page: https://npm.io/package/@cloudflare/types

## Dependencies (3)

- [zod](https://npm.io/package/zod.md) ^4.3.6
- [@cloudflare/intl-types](https://npm.io/package/@cloudflare/intl-types.md) ^1.5.7
- [@cloudflare/util-en-garde](https://npm.io/package/@cloudflare/util-en-garde.md) ^8.0.11

## Recent versions

- 7.0.1 (latest) — 2026-07-27
- 7.0.0 — 2025-04-21
- 6.29.1 — 2024-07-19
- 6.29.0 — 2024-03-29
- 6.28.0 — 2024-03-29
- 6.27.0 — 2023-12-08
- 6.26.0 — 2023-10-31
- 6.25.0 — 2023-10-27
- 6.24.0 — 2023-10-25
- 6.23.6 — 2023-09-11
- 6.23.5 — 2023-09-05
- 6.23.4 — 2023-09-05
- 6.23.3 — 2023-09-01
- 6.23.2 — 2023-08-31
- 6.23.1 — 2023-08-30
- … 479 more at https://npm.io/package/@cloudflare/types/versions

## README

# @cloudflare/types
TypeScript module with centralized global types, such as API objects.

## Motivation
* Share API and other global types across multiple apps.
* Easier to adapt to API changes.

## Installation

```sh
$ npm install @cloudflare/types
```

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