# @types/sinon

> TypeScript definitions for sinon

Latest version **22.0.0** (published 2026-07-01) · MIT license · 0 weekly downloads

## Install

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

## 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 | 22.0.0 |
| Published | 2026-07-01 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 64 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/sinonjs__fake-timers](https://npm.io/package/@types/sinonjs__fake-timers.md) *

## Recent versions

- 22.0.0 (latest) — 2026-07-01
- 21.0.1 (ts5.5) — 2026-04-03
- 21.0.0 (ts5.2) — 2025-11-17
- 17.0.4 (ts5.0) — 2025-02-22
- 17.0.3 (ts4.8) — 2024-01-10
- 17.0.2 (ts4.5) — 2023-11-21
- 10.0.16 (ts4.3) — 2023-08-01
- 10.0.13 (ts4.2) — 2022-07-20
- 10.0.11 (ts3.9) — 2022-02-08
- 10.0.6 (ts3.7) — 2021-10-25
- 10.0.2 (ts3.6) — 2021-06-02
- 10.0.1 (ts3.5) — 2021-05-25
- 9.0.10 (ts3.3) — 2020-12-23
- 9.0.8 (ts3.2) — 2020-10-04
- 9.0.5 (ts3.1) — 2020-08-21
- … 97 more at https://npm.io/package/@types/sinon/versions

## README

# Installation
> `npm install --save @types/sinon`

# Summary
This package contains type definitions for sinon (https://sinonjs.org).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon.

### Additional Details
 * Last updated: Wed, 01 Jul 2026 06:54:58 GMT
 * Dependencies: [@types/sinonjs__fake-timers](https://npmjs.com/package/@types/sinonjs__fake-timers)

# Credits
These definitions were written by [William Sears](https://github.com/mrbigdog2u), [Nico Jansen](https://github.com/nicojs), [James Garbutt](https://github.com/43081j), [Greg Jednaszewski](https://github.com/gjednaszewski), [John Wood](https://github.com/johnjesse), [Alec Flett](https://github.com/alecf), [Simon Schick](https://github.com/SimonSchick), and [Mathias Schreck](https://github.com/lo1tuma).

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