# @types/is-semver

> TypeScript definitions for is-semver

Latest version **1.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-11-07 |
| First published | 2022-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.2 (latest) — 2023-11-07
- 1.0.0 (ts4.1) — 2022-10-28
- 1.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/is-semver`

# Summary
This package contains type definitions for is-semver (https://github.com/IonicaBizau/is-semver#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-semver.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-semver/index.d.ts)
````ts
export = isSemver;

/**
 * Check if an input value is a valid semver version or not.
 *
 * @param input The version string to check.
 * @returns `true` if the input is a valid semver version or `false` otherwise.
 *
 * @example
 * import isSemver = require("is-semver");
 *
 * console.log(isSemver("1.2.3"));
 * // => true
 *
 * console.log(isSemver("a.b.c"));
 * // => false
 *
 * console.log(isSemver("foo"));
 * // => false
 */
declare function isSemver(input: string): boolean;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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