punycode-regex

A regex for matching punycode.

MIT 2 个版本
安装
npm install punycode-regex
yarn add punycode-regex
pnpm add punycode-regex
bun add punycode-regex
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()

版本列表
1.0.1 2019-12-05
1.0.0 2019-12-05