.. | ||
lib | ||
ucs2 | ||
CHANGELOG.md | ||
CHANGES | ||
decode.js | ||
encode.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
to-ascii.js | ||
to-unicode.js |
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
$ npm test