uuidv4
- Version 6.2.13
- Published
- 17.4 kB
- 2 dependencies
- MIT license
Install
npm i uuidv4
yarn add uuidv4
pnpm add uuidv4
Overview
uuidv4 creates v4 UUIDs.
Index
Variables
Functions
Variables
variable jsonSchema
const jsonSchema: { v4: { type: string; pattern: string }; v5: { type: string; pattern: string };};
variable regex
const regex: { v4: RegExp; v5: RegExp };
Functions
function empty
empty: () => string;
function fromString
fromString: (text: string, namespace?: string) => string;
function isUuid
isUuid: (value: string) => boolean;
function uuid
uuid: () => string;
Package Files (1)
Dependencies (2)
Dev Dependencies (3)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/uuidv4
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/uuidv4)
- HTML<a href="https://www.jsdocs.io/package/uuidv4"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 688 ms. - Missing or incorrect documentation? Open an issue for this package.