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

0.7.6 • Public • Published

Installation

npm install --save @types/uuid-js

Summary

This package contains type definitions for uuid-js (https://github.com/pnegri/uuid-js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid-js.

index.d.ts

export = uuid;
declare class uuid {
    equals(uuid: uuid): boolean;
    fromParts(
        timeLow: any,
        timeMid: any,
        timeHiAndVersion: any,
        clockSeqHiAndReserved: any,
        clockSeqLow: any,
        node: any,
    ): uuid;
    toBytes(): any[];
    toString(): string;
    toURN(): string;
    static create(version?: number): uuid;
    static firstFromTime(time: number): uuid;
    static fromBinary(binary: any): uuid;
    static fromBytes(ints: number[]): uuid;
    static fromTime(time: number, last?: boolean): uuid;
    static fromURN(strId: any): uuid;
    static getTimeFieldValues(time: any): any;
    static lastFromTime(time: any): uuid;
    static limitUI04: number;
    static limitUI06: number;
    static limitUI08: number;
    static limitUI12: number;
    static limitUI14: number;
    static limitUI16: number;
    static limitUI32: number;
    static limitUI40: number;
    static limitUI48: number;
    static maxFromBits(bits: number): uuid;
    static newTS(): uuid;
    static paddedString(string: any, length: any, z: any): uuid;
    static randomUI04(): uuid;
    static randomUI06(): uuid;
    static randomUI08(): uuid;
    static randomUI12(): uuid;
    static randomUI14(): uuid;
    static randomUI16(): uuid;
    static randomUI32(): uuid;
    static randomUI40(): uuid;
    static randomUI48(): uuid;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Mohamed Hegazy.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/uuid-js

Weekly Downloads

3,713

Version

0.7.6

License

MIT

Unpacked Size

5.24 kB

Total Files

5

Last publish

Collaborators

  • types