@teamteanpm2024/nobis-odio-deserunt
v2.0.4
Published
![Node.js Package](https://github.com/teamteanpm2024/nobis-odio-deserunt/workflows/Node.js%20Package/badge.svg)
Downloads
15
Maintainers
Keywords
Readme
@teamteanpm2024/nobis-odio-deserunt
Return name of ascii code
Important
Feel free to use it. Now it supports English only. Make a Pull Request @teamteanpm2024/nobis-odio-deserunt if needed. (e.g. Multiple language)
Install
$ npm install @teamteanpm2024/nobis-odio-deserunt
Usage
const asciiName = require('@teamteanpm2024/nobis-odio-deserunt');
// 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.getName('#', 1); //return 'pound' (see @teamteanpm2024/nobis-odio-deserunt_en.json)
// multi language supported
asciiName.setLanguage('ko') // set language code
asciiName.getLanguage(); // return current language code (Default: en)
asciiText.getName(':') // return '콜론' from @teamteanpm2024/nobis-odio-deserunt_ko.json
asciiText.getName(0) // return 'null' from @teamteanpm2024/nobis-odio-deserunt_en.json (default) as @teamteanpm2024/nobis-odio-deserunt_ko.json does not have the value of 0
Supported Languages
- en: English
- fr: French
- es: Spanish
- hi: Hindi
- ar: Arabic
- ko: Korean
- zh: Chinese
- ja: Japanese
License
MIT License © Heeseong Yoo