npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

is-alphanumerical

1.0.3 • Public • Published

is-alphanumerical

Build Coverage Downloads Size

Check if a character is alphanumerical ([a-zA-Z0-9]).

Installation

npm:

npm install is-alphanumerical

Usage

var alphanumerical = require('is-alphanumerical')
 
alphanumerical('a') // => true
alphanumerical('Z') // => true
alphanumerical('0') // => true
alphanumerical(' ') // => false
alphanumerical('💩') // => false

API

alphanumerical(character)

Check whether the given character code (number), or the character code at the first position (string), is alphanumerical.

Related

License

MIT © Titus Wormer

install

npm i is-alphanumerical

Downloadsweekly downloads

1,647,510

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability