JSPM

punycode2

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 33227
  • Score
    100M100P100Q139563F
  • License MIT

Modular version of punycode package

Package Exports

  • punycode2
  • punycode2/encode
  • punycode2/encode.js
  • punycode2/index.js
  • punycode2/to-ascii
  • punycode2/to-ascii.js
  • punycode2/ucs2/decode
  • punycode2/ucs2/decode.js
  • punycode2/ucs2/encode
  • punycode2/ucs2/encode.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (punycode2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build status Tests coverage npm version

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