# @types/is-uuid

> TypeScript definitions for is-uuid

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

## Install

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

## 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 | 2018-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.2 (latest) — 2023-11-07
- 1.0.0 (ts2.0) — 2018-08-15
- 1.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/is-uuid`

# Summary
This package contains type definitions for is-uuid (https://github.com/afram/is-uuid#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-uuid.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-uuid/index.d.ts)
````ts
/**
 * Returns true if the value is a v1 UUID
 * @param value The value to test
 */
export function v1(value: string): boolean;

/**
 * Returns true if the value is a v2 UUID
 * @param value The value to test
 */
export function v2(value: string): boolean;

/**
 * Returns true if the value is a v3 UUID
 * @param value The value to test
 */
export function v3(value: string): boolean;

/**
 * Returns true if the value is a v4 UUID
 * @param value The value to test
 */
export function v4(value: string): boolean;

/**
 * Returns true if the value is a v5 UUID
 * @param value The value to test
 */
export function v5(value: string): boolean;

/**
 * Returns true if the value is a nil UUID
 * @param value The value to test
 */
export function nil(value: string): boolean;

/**
 * Returns true for v1 - v5 UUID. Will return false for nil UUID
 * @param value The value to test
 */
export function anyNonNil(value: string): boolean;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [André Thériault](https://github.com/tedre191).

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