Miss any of our Open RFC calls?Watch the recordings here! »

is-punycode

1.0.1 • Public • Published

Is Punycode Travis CI Build Status

Check if a string is punycode.

NPM Badge

Install

npm install is-punycode

Usage

const punycodeRegex = require("punycode-regex");
 
isPunycode("xn--tiq49xqyj")
//=> true

API

isPunycode(string)

string

Type: string

The string to check.

Install

npm i is-punycode

DownloadsWeekly Downloads

10

Version

1.0.1

License

MIT

Unpacked Size

2.94 kB

Total Files

6

Last publish

Collaborators

  • avatar