kana-input.js is a JavaScript library designed to write hiraganas and katakanas using a classic keyboard following the Hepburn romanization system.
Just add the script to kana-input.js right before your closing </body>
tag and add a data-kana-input
attribute on <input>
or <textarea>
tags than need to write kanas.
Just type classic romaji letters in lower case for hiraganas and in upper case for katakanas. Kanas will appear as you type ;-)
- Hubert SABLONNIÈRE @hsablonniere