Skip to content

pot-pourri/ascii

Repository files navigation

ASCII code bricks for JavaScript.

License NPM version Bower version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Inline docs

Installation

Can be managed through duo, component, bower, or npm.

let ascii = require( "@aureooms/js-ascii" ) ;

Usage

ascii.islower( 'a' ) ; // true
ascii.islower( 'à' ) ; // false
ascii.islower( 'A' ) ; // false
ascii.islower( 'À' ) ; // false
ascii.islower( '0' ) ; // false

ascii.isupper( 'a' ) ; // false
ascii.isupper( 'à' ) ; // false
ascii.isupper( 'A' ) ; // true
ascii.isupper( 'À' ) ; // false
ascii.isupper( '0' ) ; // false

ascii.isdigit( 'a' ) ; // false
ascii.isdigit( 'à' ) ; // false
ascii.isdigit( 'A' ) ; // false
ascii.isdigit( 'À' ) ; // false
ascii.isdigit( '0' ) ; // true