UNPKG

normalize-cjk

Version:
16 lines (15 loc) 496 B
/** * Normalize Katakana characters * * Replace all half-width kana with full-width form */ export declare const normalizeKatakana: (input: string) => string; /** * Normalize Japanese characters (Katakana) * * Hiragana doesn't seem to need normalization. But it can be added eventually. * * Credits to [Yusuke Nemoto](https://github.com/kaakaa) * @See https://twitter.com/kaakaa_hoe_prog/status/1415149003293954060 */ export declare const normalizeJapanese: (input: string) => string;