JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q62037F

Package Exports

  • ascii-name

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ascii-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ascii-name

Return name of ascii code

Important

Feel free to use it. Now it supports English only. Make a Pull Request avocadee if needed. (e.g. Multiple language)

Install

$ npm install ascii-name

Usage

const asciiName = require('ascii-name');

// string is supported
asciiName.getName(':');     //return 'colon'

// ascii code index is supported (Decimal)
asciiName.getName(53);      //return 'colon'


// multiple names supported
asciiName.getName('#');     //return 'number sign'
asciiName.getName('#', 0);  //return 'number sign'

asciiName.getNames('#');    // return an array of ["number sign", "pound"]
asciiName.getNames(35);     // return an array of ["number sign", "pound"]

License

MIT License © Heeseong Yoo