JSPM

punycode-regex

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

A regex for matching punycode.

Package Exports

  • punycode-regex

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 (punycode-regex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Punycode Regex Travis CI Build Status

A regex for matching punycode.

NPM Badge

Install

npm install punycode-regex

Usage

const punycodeRegex = require("punycode-regex");

punycodeRegex().test("xn--tiq49xqyj")
//=> true

API

punycodeRegex()