UNPKG

telegram-free

Version:

Sends message by Telegram API and SMS by the free-mobile API

11 lines (9 loc) 234 B
export class Tools { /** * Removes accents in the passed parameter * @param str */ public static removeAccents(str: string): string{ return str.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); } }