hapin-utils
v4.0.0
Published
Hapin JavaScript(TypeScript) 开放工具包
Downloads
4
Readme
hapin-utils
Hapin JavaScript(TypeScript) 开放工具包。
安装
npm i hapin-utils
快速开始
import { transformHapinToArabic } from 'hapin-utils'
transformHapinToArabic('ara') // ارا
API
transformArabicToHapin(word: string): string
将老文字转化为哈拼transformHapinToArabic(word: string): string
将哈拼转化为老文字transformCyrillicToHapin(word: string): string
将西里尔文字转化为哈拼transformCyrillicToArabic(word: string): string
将西里尔文字转化为老文字