# @netlify/types

> TypeScript definitions for the Netlify platform

Latest version **3.0.0** (published 2026-08-18) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-08-18 |
| First published | 2025-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 0 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 26 |
| Author | Netlify Inc. |
| Maintainers | netlify-bot, mikewen, youvalv, serhalp-netlify, mlgualtieri-gatsby |

## Links

- npm: https://www.npmjs.com/package/@netlify/types
- Repository: https://github.com/netlify/primitives
- Homepage: https://github.com/netlify/primitives#readme
- Issues: https://github.com/netlify/primitives/issues
- npm.io page: https://npm.io/package/@netlify/types

## Recent versions

- 3.0.0 (latest) — 2026-08-18
- 2.8.0 — 2026-05-29
- 2.7.0 — 2026-05-18
- 2.6.0 — 2026-03-19
- 2.5.0 — 2026-03-18
- 2.4.0 — 2026-03-12
- 2.3.0 — 2025-12-08
- 2.2.0 — 2025-11-05
- 2.1.0 — 2025-10-10
- 2.0.3 — 2025-08-29
- 2.0.2 — 2025-06-04
- 2.0.1 — 2025-06-02
- 2.0.0 — 2025-05-28
- 1.2.0 — 2025-05-23
- 1.1.1 — 2025-05-09
- … 1 more at https://npm.io/package/@netlify/types/versions

## README

# @netlify/types

[![npm version](https://img.shields.io/npm/v/@netlify/types.svg)](https://www.npmjs.com/package/@netlify/types)

TypeScript types for Netlify platform primitives.

## Installation

```shell
npm install @netlify/types
```

### Requirements

- Node.js 16.0.0 and above

## Usage

This package provides TypeScript type definitions for various Netlify platform primitives. Import the types you need in
your TypeScript code:

```typescript
import type { Context } from '@netlify/types'
import type { NetlifyGlobal } from '@netlify/types'
```

## Types

The package includes TypeScript definitions for:

- `Context`: Type definitions for Netlify's context object
- `NetlifyGlobal`: Type definitions for Netlify's global variables

## Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or
submit a pull request.

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