{"library":"punycode","type":"library","category":null,"description":"Punycode.js is a robust JavaScript library for converting Unicode strings to Punycode and vice-versa, strictly adhering to RFC 3492 (Punycode) and RFC 5891 (IDNA2008). It provides low-level functions for encoding and decoding individual string parts, as well as higher-level utilities for processing entire domain names and email addresses. The current stable version is 2.3.1. While previously bundled with Node.js up to v7, the userland module (`npm install punycode`) now specifically targets modern Node.js v6+ environments and browsers supporting ES2015+ features. Version 1.4.1 remains available for broader compatibility with older runtimes like Rhino, Ringo, and Narwhal, offering the same functionality with a UMD build. The project is actively maintained with periodic releases.","language":"javascript","status":"active","version":"2.3.1","tags":["javascript","punycode","unicode","idn","idna","dns","url","domain"],"install":[{"cmd":"npm install punycode","imports":["const punycode = require('punycode/');","import punycode from 'punycode';","const punycode = require('punycode/');\npunycode.toASCII('mañana.com');"]},{"cmd":"yarn add punycode","imports":[]},{"cmd":"pnpm add punycode","imports":[]}],"homepage":"https://mths.be/punycode","github":"https://github.com/mathiasbynens/punycode.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/punycode","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/punycode/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}