2.0.4 • Published 1 year ago

@teamteanpm2024/nobis-odio-deserunt v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Node.js Package

License npm

@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

2.0.3

1 year ago

2.0.4

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago