# @types/supertest

> TypeScript definitions for supertest

Latest version **7.2.1** (published 2026-07-14) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 7.2.1 |
| Published | 2026-07-14 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/supertest
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest
- npm.io page: https://npm.io/package/@types/supertest

## Dependencies (2)

- [@types/methods](https://npm.io/package/@types/methods.md) ^1.1.4
- [@types/superagent](https://npm.io/package/@types/superagent.md) ^8.1.0

## Recent versions

- 7.2.1 (latest) — 2026-07-14
- 7.2.0 (ts5.2) — 2026-02-25
- 6.0.3 (ts5.0) — 2025-03-24
- 6.0.2 (ts4.6) — 2023-12-27
- 2.0.16 (ts4.5) — 2023-11-07
- 2.0.12 (ts4.0) — 2022-03-21
- 2.0.11 (ts3.6) — 2021-03-31
- 2.0.10 (ts3.1) — 2020-06-29
- 2.0.7 (ts2.9) — 2018-12-03
- 2.0.0 (ts2.0) — 2016-11-28
- 6.0.1 — 2023-12-22
- 6.0.0 — 2023-12-21
- 2.0.15 — 2023-10-18
- 2.0.14 — 2023-10-02
- 2.0.13 — 2023-09-25
- … 23 more at https://npm.io/package/@types/supertest/versions

## README

# Installation
> `npm install --save @types/supertest`

# Summary
This package contains type definitions for supertest (https://github.com/visionmedia/supertest).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest.

### Additional Details
 * Last updated: Tue, 14 Jul 2026 08:15:37 GMT
 * Dependencies: [@types/methods](https://npmjs.com/package/@types/methods), [@types/superagent](https://npmjs.com/package/@types/superagent)

# Credits
These definitions were written by [Alex Varju](https://github.com/varju), [Petteri Parkkila](https://github.com/pietu), and [David Tanner](https://github.com/DavidTanner).

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