UNPKG

normalize-text

Version:

Provides a simple API to normalize texts, white-spaces, paragraphs & diacritics.

12 lines 434 B
/** * If `String.prototype.normalize` is supported it normalizes diacritics by * replacing them with "clean" character from received text. * @example * normalizeDiacritics('Olá, você aí'); * //=> 'Ola, voce ai' * @param {string} text - A `string` value. * @returns {string} */ declare const normalizeDiacritics: (text: string) => string; export default normalizeDiacritics; //# sourceMappingURL=normalizeDiacritics.d.ts.map