is-ascii
v1.0.0 ascii string utf8
isAscii
Test if a string is 100% ascii.
Why
I needed to see if a string was 100% ascii.
Usage
import isAscii from 'is-ascii';
isAscii('foo bar baz !?!!!!???? @#$%^&*(){}[]\|-_+=`~'); // true
isAscii('💩💩💩‽‽‽'); // false