npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

is-alphanumerical

1.0.2 • Public • Published

is-alphanumerical Build Status Coverage Status

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,282,138

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability