ai / Convert Layout
Licence: mit
JS library to convert text from one keyboard layout to other
Stars: ✭ 213
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Convert Layout
Pixieditor
PixiEditor is a lightweight pixel art editor made with .NET 5
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Mercure
Server-sent live updates: protocol and reference implementation
Stars: ✭ 2,608 (+1124.41%)
Mutual labels: hacktoberfest
Ember Feature Flags
Ember CLI addon for feature flags
Stars: ✭ 212 (-0.47%)
Mutual labels: hacktoberfest
Bookmarks
🔖 +4.3K awesome resources for geeks and software crafters 🍺
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Oshi
Native Operating System and Hardware Information
Stars: ✭ 2,876 (+1250.23%)
Mutual labels: hacktoberfest
Cve Bin Tool
This tool scans for a number of common, vulnerable components (openssl, libpng, libxml2, expat and a few others) to let you know if your system includes common libraries with known vulnerabilities.
Stars: ✭ 211 (-0.94%)
Mutual labels: hacktoberfest
Parcel Plugin Svelte
A parcel plugin that enables svelte support
Stars: ✭ 214 (+0.47%)
Mutual labels: hacktoberfest
Idiomatic Rust
🦀 A peer-reviewed collection of articles/talks/repos which teach concise, idiomatic Rust.
Stars: ✭ 3,130 (+1369.48%)
Mutual labels: hacktoberfest
Osx Push To Talk
OSX status bar application that mute microphone on user key press
Stars: ✭ 209 (-1.88%)
Mutual labels: hacktoberfest
Ach
ACH implements a reader, writer, and validator for Automated Clearing House (ACH) files. The HTTP server is available in a Docker image and the Go package is available.
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Closedxml
ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.
Stars: ✭ 2,799 (+1214.08%)
Mutual labels: hacktoberfest
Tldr
Golang command line client for tldr https://github.com/tldr-pages/tldr
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Opensourceresources
Free opensource Learning Resources related to Web-Development A to Z 🔥❤
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Pytest Qt
pytest plugin for Qt (PyQt4, PyQt5 and PySide) application testing
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
Signalr Client Swift
Swift SignalR Client for Asp.Net Core SignalR server
Stars: ✭ 213 (+0%)
Mutual labels: hacktoberfest
Noderssbot
Another Telegram RSS bot but in Node.js Telegram RSS 机器人
Stars: ✭ 212 (-0.47%)
Mutual labels: hacktoberfest
Doodba
Base image for making the creation of customized Odoo environments a piece of cake
Stars: ✭ 210 (-1.41%)
Mutual labels: hacktoberfest
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);
});
Usage
There are two ways to load a keyboard layout definition. If you plan on using a single layout, just load the file directly:
var ru = require('convert-layout/ru');
Also you can get a object with all layouts (but app size will be bigger):
var layouts = require('convert-layout');
layout = layouts[name];
Every layout has fromEn
and toEn
methods:
ru.toEn('руддщ') //=> "hello"
ru.fromEn('ghbdtn') //=> "привет"
Layouts
Currently supported keyboard layouts:
- Arabic
- Belarusian
- English (QWERTY, Dvorak, Colemak)
- German
- Kazakh
- Korean
- Russian
- Spanish
- Ukrainian
- Hebrew
- Persian
If you want to add a new keyboard layout definition:
- Fork a project. Create a branch.
- Add a
CODE.json
file with layout buttons map. See example inru.json
. Lower case letters will be converted to upper case automatically. However, all non-letters symbols should be added both in uppercase and lowercase. - Run
yarn test
. Project will be built automatically. - Add layout to the list above.
- Send a pull request.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].