Installation
npm install --save @types/lil-uuid
Summary
This package contains type definitions for lil-uuid (https://github.com/lil-js/uuid).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lil-uuid.
index.d.ts
/**
* Generate a random UUID
*
* @returns UUID string.
*/
export function uuid(): string;
/**
* Check if a given string has a valid UUID format. It supports multiple version (3, 4 and 5).
*
* @param uuid UUID string.
* @returns True if string is valid UUID, false otherwise.
*/
export function isUUID(uuid: string): boolean;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Pr1st0n.