zeha
v1.0.2
Published
Hankaku / Zenkaku converter written in Typescript
Downloads
2
Readme
Zeha
Hankaku / Zenkaku converter written in Typescript
Install
npm install zeha
Usage
import { zen_to_han, han_to_zen } from 'zeha';
zen_to_han('アカサタナABCDEFG1234', {kana=false, digit=true, ascii=true}})
>> アカサタナABCDEFG1234
han_to_zen('アカサタナABCDEFG1234', {kana=false, digit=true, ascii=true})
>> ABCDEFG1234