5.0.0 • Published 1 year ago

tr46 v5.0.0

Weekly downloads
14,799,838
License
MIT
Repository
github
Last release
1 year ago

tr46

An JavaScript implementation of Unicode Technical Standard #46: Unicode IDNA Compatibility Processing.

API

toASCII(domainName[, options])

Converts a string of Unicode symbols to a case-folded Punycode string of ASCII symbols.

Available options:

toUnicode(domainName[, options])

Converts a case-folded Punycode string of ASCII symbols to a string of Unicode symbols.

Available options:

Options

checkBidi

Type: boolean Default value: false When set to true, any bi-directional text within the input will be checked for validation.

checkHyphens

Type: boolean Default value: false When set to true, the positions of any hyphen characters within the input will be checked for validation.

checkJoiners

Type: boolean Default value: false When set to true, any word joiner characters within the input will be checked for validation.

ignoreInvalidPunycode

Type: boolean Default value: false When set to true, invalid Punycode strings within the input will be allowed.

transitionalProcessing

Type: boolean Default value: false When set to true, uses transitional (compatibility) processing of the deviation characters.

useSTD3ASCIIRules

Type: boolean Default value: false When set to true, input will be validated according to STD3 Rules.

verifyDNSLength

Type: boolean Default value: false When set to true, the length of each DNS label within the input will be checked for validation.

whatwg-urlarchetype-library@dinert/utilseasy-select-rnreact-native-bluetooth2killi8n-react-native-fast-imagespecify-importsbabel-specify-imports@icanpm/api-masterreact-native-template-rfbaseairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@ntt_app/react-native-custom-notificationreact-native-covid-sdkgql_din_modbitget@iobroker-community-adapters/iobroker.device-watcher@olivervorasai/slidernpm-memesreact-native-printer-brotherscbmis-ai-toolboxreact-native-shekhar-bridge-testbeta-test-apiscogoportutilsspace-api-wrapperdemo-wrapper-apilevilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29wilscanner@oiti/documentoscopy-react-nativestretch-rollup@mink-opn/build-tokensqwackbotquoc-testreact-native-slider-kfsvelte-slimehexa-node-common@infinitebrahmanuniverse/nolb-tr4@prodam/prodam-typescclibyarntest@saaspe/componentsplginexpand-react-bridgeexpress-api-pack-trluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-2964jawwy-sdkjawwy_gamification_release@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablesklif-uircf-tea-testnetreact-native-jawwy_samplelapture-ui-complaptureuigriffin-ui-library@wacoco/ytailwind-vector-effectsyncbackbasessvelvet-customtest-library-123test-haptik-libtest-npm-jjmessiwinx-form-winxwhatwg-url-compatwhatwg-url-es5whatwg-url-ngssrwhatwg-url-rnwabotakbarwebdatabasetest1webdatabasetest10webchewoven-challenge-deploywow.js-juzixbust_cilwifi_configuration_packagewhatsconcrn-tm-notifyrn-use-modal-hookrn-currency-formatterrn-counter-demorn-session-multiplier-demorn_unique_device_idrnttlock
5.0.0

1 year ago

4.1.0

2 years ago

4.0.0

2 years ago

4.1.1

2 years ago

3.0.0

3 years ago

2.1.0

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.3

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago