unicode-to-plain-text
Version:
Convert fancy Unicode text to plain ASCII with smart language preservation
13 lines (12 loc) • 531 B
TypeScript
export type ToPlainTextOptions = {
normalizeSpaces?: boolean;
skipEmoji?: boolean;
};
export declare const toPlainText: (text: string, options?: ToPlainTextOptions) => string;
export { handleUnicodeId } from './handleUnicodeId';
export { handleFlipped } from './handleFlipped';
export { mapCharacters } from './mapCharacters';
export { normalizeUnicode } from './normalizeUnicode';
export { removeDecorations } from './removeDecorations';
export { normalizeCasing } from './normalizeCasing';
export { pipe } from './pipe';