literal-kanji
v1.0.2
Published
Return English words replacing kanji characters
Downloads
2
Readme
literal-kanji
A small NodeJS module to convert Japanese kanji to their literal meaning:
// Tokyo
literalKanji = require('literal-kanji');
literalKanji('東京');
> 'east capital'
Use case
I translated this SVG Tokyo subway map:
Modules used
- jisho by Siegfried Ehret, using kanjium dataset
- mocha for testing
License
Open source under MIT license