mathiasbynens/punycode.js
A robust Punycode converter that fully complies to RFC 3492 and RFC 5891. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5409
- days_rel: n/a
- days_push: 867
- n_releases_24m: 0
Adoption not part of the score
1689 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Punycode.js is a robust JavaScript library for converting between Punycode (ASCII) and Unicode strings, fully compliant with RFC 3492 and RFC 5891. It works in modern Node.js and browsers and was formerly bundled with Node.js core.
Use cases
- convert internationalized domain names to punycode
- decode punycode domain labels to unicode
- convert punycode email addresses to unicode
- handle IDN domains in URLs
- encode non-ASCII hostname labels for DNS
- validate and convert IDNA domain strings
When to choose
- you need standards-compliant punycode conversion in JavaScript
- you handle internationalized domain names or email addresses in Node.js or the browser
- you need a small, well-tested library with no dependencies
When to avoid
- you only need punycode in modern Node.js and are fine with the deprecated built-in module
- your project must support pre-ES2015 runtimes without using the older v1.4.1 release
- you need full IDNA processing (mapping, normalization) rather than just punycode encoding/decoding
Facets
library · maturity stable
serialization parser developer-tools web-development networking apis browser cross-platform punycode idn idna unicode dns domain-names rfc3492 rfc5891 url internationalization nodejs javascript
3 sources
- readme: https://github.com/mathiasbynens/punycode.js · fetched 2026-08-28 · 594e40a360d7
- homepage: https://mths.be/punycode · fetched 2026-08-29 · 9a129438f3f9
- registry_npm: https://registry.npmjs.org/punycode.js · fetched 2026-08-29 · b064745190d8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mathiasbynens/punycode.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mathiasbynens/punycode.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem