Skip to content

⌨️ Replaces words written with characters from another language

License

Notifications You must be signed in to change notification settings

NikolaySimakov/keyboard-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keyboard-translator.js

js-standard-style npm License: MIT

Install

npm install keyboard-translator

or

yarn add keyboard-translator

🤔 What is this?

This library is for the segment of users with dual keyboard layouts who mistakenly write words without changing the keyboard layout. It automatically translates all the necessary text fragments, thus saving users a lot of time.

Basic usage

import keyboardTranslator from 'keyboard-translator';

const text = 'Руддщ Цщкдв!'; // Incorrect sentence
const fixedSentence = keyboardTranslator.translateSentence(text);
console.log(fixedSentence); // Correct sentence: Hello World!

📖 Full Documentation

Full documentation see here.

💁 Contributing

As an open source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infra, or better documentation.

Check out our contributing guidelines for instructions on how to contribute.