# @types/semver

> TypeScript definitions for semver

Latest version **7.8.0** (published 2026-08-02) · MIT license · 0 weekly downloads

## Install

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

## 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.8.0 |
| Published | 2026-08-02 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

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

## Recent versions

- 7.8.0 (latest) — 2026-08-02
- 7.7.1 (ts5.3) — 2025-09-03
- 7.7.0 (ts5.0) — 2025-03-26
- 7.5.8 (ts4.6) — 2024-02-24
- 7.5.6 (ts4.5) — 2023-11-21
- 7.5.1 (ts4.3) — 2023-08-28
- 7.3.13 (ts4.2) — 2022-10-26
- 7.3.12 (ts4.0) — 2022-08-11
- 7.3.9 (ts3.7) — 2021-10-19
- 7.3.8 (ts3.6) — 2021-07-23
- 7.3.6 (ts3.5) — 2021-05-13
- 7.3.4 (ts3.1) — 2020-09-14
- 7.3.3 (ts3.0) — 2020-08-17
- 7.2.0 (ts2.9) — 2020-05-13
- 7.1.0 (ts2.8) — 2020-01-27
- … 44 more at https://npm.io/package/@types/semver/versions

## README

# Installation
> `npm install --save @types/semver`

# Summary
This package contains type definitions for semver (https://github.com/npm/node-semver).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver.

### Additional Details
 * Last updated: Sun, 02 Aug 2026 07:58:44 GMT
 * Dependencies: none

# Credits
These definitions were written by [Bart van der Schoor](https://github.com/Bartvds), [BendingBender](https://github.com/BendingBender), [Lucian Buzzo](https://github.com/LucianBuzzo), [Klaus Meinhardt](https://github.com/ajafff), [ExE Boss](https://github.com/ExE-Boss), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

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