Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aureooms-js-ascii

aureooms8AGPL-3.0deprecated1.0.1

WARNING: This project has been renamed to @aureooms/js-ascii.

ASCII code bricks for JavaScript

ASCII, ascii, bricks, isdigit, islower, isupper, javascript, js

readme

js-ascii

ASCII code bricks for JavaScript.

NPM 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