hapin-utils
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

hapin-utils

version download

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 将西里尔文字转化为老文字

Readme

Keywords

none

Package Sidebar

Install

npm i hapin-utils

Weekly Downloads

5

Version

4.0.0

License

MIT

Unpacked Size

78.5 kB

Total Files

7

Last publish

Collaborators

  • herberthe