non-ascii

Regular expression for matching non-ASCII characters

Usage no npm install needed!

<script type="module">
  import nonAscii from 'https://cdn.skypack.dev/non-ascii';
</script>

README

non-ascii

Regular expression for matching non-ASCII characters

Install

$ npm install non-ascii

Usage

import nonAscii from 'non-ascii';

nonAscii.test('hællæ');
//=> true

nonAscii.test('unicorn');
//=> false