UNPKG

date-japanese

Version:

Convert Japanese calendar dates to Western calendar dates and vice versa. Full support for Kanji numerals in Wareki dates.

8 lines (7 loc) 327 B
/** * Replaces specific characters that are often misrecognized as Kanji numerals with their correct Kanji numeral counterparts. * @param text The input text. * @return The text with the specified characters replaced with Kanji numerals. */ declare const _default: (text: string) => string; export default _default;