@inotom/ja-kana-convert
v2.0.0
Published
Convert hiragana/katakana string.
Downloads
5
Readme
ja-kana-convert
Convert hiragana/katakana string.
Install
$ npm install -D @inotom/ja-kana-convert
Usage
Browser
<script src="ja-kana-convert.min.js"></script>
<script>
console.log(JaKanaConvert.toKatakana('ひらがなをカタカナに'));
console.log(JaKanaConvert.toHiragana('カタカナをひらがなに'));
</script>
Node.js
import { toKatakana, toHiragana } from '@inotom/ja-kana-convert';
console.log(toKatakana('ひらがなをカタカナに'));
console.log(toHiragana('カタカナをひらがなに'));
License
MIT
Author
inotom