Gathering detailed insights and metrics for tr46
Gathering detailed insights and metrics for tr46
Gathering detailed insights and metrics for tr46
Gathering detailed insights and metrics for tr46
An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing.
npm install tr46
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
11,761,067,123
Last Day
14,697,745
Last Week
80,768,298
Last Month
344,072,849
Last Year
3,620,681,892
MIT License
35 Stars
81 Commits
22 Forks
6 Watchers
1 Branches
10 Contributors
Updated on Apr 17, 2025
Latest Version
5.1.1
Package Id
tr46@5.1.1
Unpacked Size
220.61 kB
Size
62.51 kB
File Count
7
NPM Version
10.9.2
Node Version
23.9.0
Published on
Apr 17, 2025
Cumulative downloads
Total Downloads
Last Day
42.5%
14,697,745
Compared to previous day
Last Week
5%
80,768,298
Compared to previous week
Last Month
-1.7%
344,072,849
Compared to previous month
Last Year
20%
3,620,681,892
Compared to previous year
1
5
An JavaScript implementation of Unicode Technical Standard #46: Unicode IDNA Compatibility Processing.
toASCII(domainName[, options])
Converts a string of Unicode symbols to a case-folded Punycode string of ASCII symbols.
Available options:
checkBidi
checkHyphens
checkJoiners
ignoreInvalidPunycode
transitionalProcessing
useSTD3ASCIIRules
verifyDNSLength
toUnicode(domainName[, options])
Converts a case-folded Punycode string of ASCII symbols to a string of Unicode symbols.
Available 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.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 5/26 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More