node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

non-ascii

non-ascii Build Status

Regular expression for matching non-ASCII characters

Install

$ npm install --save non-ascii

Usage

var nonAscii = require('non-ascii');
 
nonAscii.test('hællæ');
//=> true 
 
nonAscii.test('unicorn');
//=> false 

License

MIT © Sindre Sorhus