1.0.4 • Published 6 months ago
@types/random-ipv6 v1.0.4
Installation
npm install --save @types/random-ipv6
Summary
This package contains type definitions for random-ipv6 (https://github.com/mock-end/random-ipv6#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/random-ipv6.
index.d.ts
// Type definitions for random-ipv6 1.0
// Project: https://github.com/mock-end/random-ipv6#readme
// Definitions by: ocket8888 <https://github.com/ocket8888>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Options extends Record<string | symbol, boolean | undefined | {max?: number | string | undefined, min?: number | string | undefined}> {
compressed?: boolean | undefined;
padded?: boolean | undefined;
}
declare function randomIPv6(schema?: Options): string;
declare function randomIPv6(schema: string, options?: Options): string;
export = randomIPv6;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:20:14 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by ocket8888.