is-alphanumeric
Check if a string only contains alphanumeric characters
Last updated 9 years ago by arthurvr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-alphanumeric 
SYNC missed versions from official npm registry.

is-alphanumeric Build Status

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

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 2
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE