UNPKG

str-util

Version:

convert full/half width, Chinese/Japanese number, 中日漢字轉換... others util helper

17 lines (16 loc) 810 B
/** * Created by user on 2017/12/8/008. */ export { isFullWidth, isFullwidthCodePoint } from './lib/is-fullwidth'; export { stringWidth } from './lib/width'; import { toFullNumber, toHalfNumber, toFullEnglish, toHalfEnglish, toFullWidth, toHalfWidth } from '@lazy-cjk/fullhalf'; import stripAnsi from 'strip-ansi'; export { normalize } from '@lazy-cjk/str-util-normalize'; export { trim, ITrimOptions } from '@lazy-cjk/str-util-trim'; export { zh2jp, jp2zhs, jp2zht } from '@lazy-cjk/jp-table-convert'; export { zh2num, num2zh } from '@lazy-cjk/zh2num'; export { charCodeAt } from '@lazy-cjk/str-util-char-code-at'; export { toFullNumber, toHalfNumber, toFullEnglish, toHalfEnglish, toFullWidth, toHalfWidth }; export { stripAnsi }; declare const _default: typeof import("./index"); export default _default;