.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / is-alphanumeric / readme.md
1 # is-alphanumeric [![Build Status](https://travis-ci.org/arthurvr/is-alphanumeric.svg?branch=master)](https://travis-ci.org/arthurvr/is-alphanumeric)
2
3 > Check if a string only contains alphanumeric characters
4
5
6 ## Install
7
8 ```
9 $ npm install --save is-alphanumeric
10 ```
11
12
13 ## Usage
14
15 ```js
16 var isAlphanumeric = require('is-alphanumeric');
17
18 isAlphanumeric('unicorns');
19 //=> true
20
21 isAlphanumeric('55');
22 //=> true
23
24 isAlphanumeric('ABC');
25 //=> true
26
27 isAlphanumeric('*unicorns');
28 //=> false
29
30 isAlphanumeric('{unicorns}');
31 //=> false
32
33 isAlphanumeric(' ');
34 //=> false
35 ```
36
37
38 ## License
39
40 MIT © [Arthur Verschaeve](http://arthurverschaeve.be)