ke2daira
v0.4.0
Published
A JavaScript implementation of ke2daira
Downloads
46
Readme
ke2daira.js
A JavaScript implementation of ke2daira
Installation
$ npm i ke2daira
Usage
const { ke2dairanization } = require("ke2daira")
ke2dairanization("松平 健")
.then((ke2dairanized) => {
console.log(ke2dairanized) // "ケツダイラ マン"
})
Difference from original ke2daira
ke2daira.js
only supports switching the head of the first word and the one of the last word.
Known issues
ke2dairanization("加藤 あい")
is equal toアトウ カイ
butke2dairanization("阿藤 快")
is not equal toカトウ アイ
.ke2dairanization("阿藤 快")
wrongly turns intoコトウ アコロヨ
License
MIT