npm.io
1.0.4 • Published 2 years ago

@types/random-ipv6

Licence
MIT
Version
1.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by ocket8888.