Installation
npm install --save @types/tr46
Summary
This package contains type definitions for tr46 (https://github.com/jsdom/tr46).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tr46.
export function toASCII(domainName: string, options?: ToASCIIOptions): string;
export function toUnicode(domainName: string, options?: Options): string;
export interface Options {
checkBidi?: boolean | undefined;
checkHyphens?: boolean | undefined;
checkJoiners?: boolean | undefined;
ignoreInvalidPunycode?: boolean | undefined;
transitionalProcessing?: boolean | undefined;
useSTD3ASCIIRules?: boolean | undefined;
}
export interface ToASCIIOptions extends Options {
verifyDNSLength?: boolean | undefined;
}
Additional Details
- Last updated: Fri, 23 Feb 2024 23:35:33 GMT
- Dependencies: none
Credits
These definitions were written by BendingBender.