@types/lil-uuid
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

/@types/lil-uuid/

    Package Sidebar

    Install

    npm i @types/lil-uuid

    Weekly Downloads

    275

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    3.17 kB

    Total Files

    5

    Last publish

    Collaborators

    • types