This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/is-alphanumeric
2020-11-01 22:46:04 +00:00
..
index.js Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
license Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
package.json Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
readme.md Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00

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