/entipic.text

[INACTIVE] Entipic text module

Primary LanguageJavaScript

entipic text

Entipic slug & uniquename module

Interface

  • uniqueName(text) - generate a topic unique name from a text;
    • Throws Invalid uniquename error
  • cultureUniqueName(uniquename, lang, country) - format a culture unique name from a text;
    • Throws Invalid uniquename param
  • parseCultureUniqueName(uniquename) - parse a formated culture unique name: ios__en-us -> {name: 'ios', lang: 'en', country: 'us'};
  • isCultureUniqueName(uniquename) - detect if a unique name is a culture unique name;
  • atonic(text) - remove text accents;
  • isCyrillic(text) - detects if a text is cyrillic;