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
99.7
Supply Chain
92
Quality
83.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
12,034,741,411
Last Day
4,698,347
Last Week
81,930,815
Last Month
354,442,586
Last Year
3,685,906,150
MIT License
39 Stars
81 Commits
22 Forks
6 Watchers
1 Branches
10 Contributors
Updated on Jun 24, 2025
Minified
Minified + Gzipped
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
-7.2%
4,698,347
Compared to previous day
Last Week
-7.8%
81,930,815
Compared to previous week
Last Month
2.6%
354,442,586
Compared to previous month
Last Year
21.1%
3,685,906,150
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 binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2
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-06-30
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