convert-layout
v0.11.1
Published
Converts text from one keyboard layout to other
Downloads
15,701
Maintainers
Readme
Convert Layout
A JavaScript library to convert text from one keyboard layout to other.
Useful to prevent errors on english-only fields, like a credit card owner field.
var ru = require('convert-layout/ru');
bankcardName.keyup(function () {
bankcardName.value = ru.toEn(bankcardName.value);
});
Docs
Read full docs on GitHub.