@types/random-ipv6
Version:
TypeScript definitions for random-ipv6
33 lines (26 loc) • 1.01 kB
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/random-ipv6/index.d.ts)
````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 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by [ocket8888](https://github.com/ocket8888).