.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
is-alphanumeric
Check if a string only contains alphanumeric characters
Install
$ npm install --save is-alphanumeric
Usage
var isAlphanumeric = require('is-alphanumeric');
isAlphanumeric('unicorns');
//=> true
isAlphanumeric('55');
//=> true
isAlphanumeric('ABC');
//=> true
isAlphanumeric('*unicorns');
//=> false
isAlphanumeric('{unicorns}');
//=> false
isAlphanumeric(' ');
//=> false
License
MIT © Arthur Verschaeve