@f0c1s/printable-ascii

2018.11.12 • Public • Published

Ascii codes and other related information taken from https://www.freeformatter.com/html-entities.html#ascii-characters

Installation
npm i @f0c1s/printable-ascii

Usage
var pa = require('@f0c1s/printable-ascii')

pa.getPrintable(100)
{ number: 'd',
description: 'Lowercase d',
character: 'd',
charCode: '100;' }

pa.getPrintable(10)
{ AssertionError [ERR_ASSERTION]: Cannot get invalid printable value. Call isPrintableCode(10) first.
at Object.getPrintable (/Users/anusaini/Code/npm/printable-ascii/index.js:14:12)
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==' }

Readme

Keywords

none

Package Sidebar

Install

npm i @f0c1s/printable-ascii

Weekly Downloads

3

Version

2018.11.12

License

ISC

Unpacked Size

9.38 kB

Total Files

3

Last publish

Collaborators

  • iamanubhavsaini
  • sainianubhav