0.2.1 • Published 3 years ago

@adefw/stringkit v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

StringKit

String conversion toolkit for the browser and nodejs.

npm-publish

Features

  • convert string between fullwidth and halfwidth
  • convert number between Arabic and CJK

Usage

const { ArabicToChinese, ChineseToArabic, toFullWidth, toHalfWidth } = require("adefw@stringkit")
ArabicToChinese(9527) // => 九五二七
ArabicToChinese(7347, { capital: true }) // 柒叁肆柒
ChineseToArabic('九五二七') // => 9527
toFullWidth('(9bC') // => (9bC
toHalfWidth('bC') // => bc

Todo

  • toHalfWidth
  • toFullWidth
  • ArabicToChinese
  • ChineseToArabic
  • ChineseToArabicNumeric
  • JapaneseToArabic
  • KoreanToArabic

Support

Thanks to Jetbrains

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago