kakasi
v1.0.0
Published
Kakasi for Node.js
Downloads
16
Readme
kakasi.js
Kakasi Japanese Transliteration for Node.js
How to install
git clone https://github.com/loretoparisi/kakasi.js.git
How to use kakasi.js
Transliterate
To transliterate a sentence use the transliterate
api.
var kk = new Kakasi({
debug: false
});
kk.transliterate( "退屈であくびばっかしていた毎日" )
.then(results => {
console.log("----------\n%s\n----------",results);
})
.catch(error => {
console.error(error);
});
this will end up in taikutsu deakubibakkashiteita mainichi