punycode-regex

A regex for matching punycode.

Usage no npm install needed!

<script type="module">
  import punycodeRegex from 'https://cdn.skypack.dev/punycode-regex';
</script>

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()