blob: fc963440f5bea269810900c9d4bc6448224e59db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# punycode2
## Modular version of [punycode](https://github.com/bestiejs/punycode.js) 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](http://browserify.org/), [Webmake](https://github.com/medikoo/modules-webmake) or [Webpack](http://webpack.github.io/)
## Tests [![Build Status](https://travis-ci.org/medikoo/punycode2.png)](https://travis-ci.org/medikoo/ppunycode2)
$ npm test
|