punycode2

Modular version of punycode package

Usage no npm install needed!

<script type="module">
  import punycode2 from 'https://cdn.skypack.dev/punycode2';
</script>

README

punycode2

Modular version of punycode package

Provides individual functionalities as following distinct modules:

  • punycode2/decode
  • punycode2/encode
  • punycode2/to-ascii
  • punycode2/to-unicode
  • punycode2/ucs2/encode
  • punycode2/ucs2/decode

Installation

NPM

In your project path:

$ npm install punycode2

To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack

Tests Build Status

$ npm test