daangn / normalize-cjk

Normalize CJK characters in text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

normalize-CJK

Package Version License NPM Bundle Size

Normalize CJK characters in text

Usage

import {
  // Function to normalize CJK text in the given string
  normalize,

  // Function to normalize Chinese only
  normalizeChinese,

  // Function to normalize Half-width Kana only
  normalizeJapanese,
  normalizeKatakana,

  // Function to normalize Hangul only
  normalizeKorean,
  normalizeHangul,
} from 'normalize-cjk';

Are you looking for normalizer for accents/diacritics?

Consider normalize-diacritics or lodash.deburr

About

Normalize CJK characters in text

License:MIT License


Languages

Language:TypeScript 100.0%