english-transliterate
v0.0.8
Published
Transliterate non english names to english
Downloads
13
Maintainers
Readme
english-transliterate
english-transliterate is an npm library that helps you convert non-English names into English names. It is particularly useful when dealing with the internationalization and localization of applications, ensuring that names from different languages can be represented in English characters.
Installation
You can install package using npm:
npm i english-transliterate
Usage
To use english-transliterate in your project, follow these simple steps:
- Import the library into your JavaScript/TypeScript file:
const translate = require('english-transliterate');
- Transliterate a non-English name:
const name = "अपूर्व "; // Non-English name, e.g., in Hindi (Devnagiri)
const transliteratedName = translate(name);
console.log(transliteratedName); // Outputs: "apoorva"
Supported Languages
english-transliterate currently supports transliteration for a wide range of languages, including but not limited to:
- Chinese
- Japanese
- Russian
- Arabic
- Greek
- Hindi
- Korean
- French
- And many more...
Contributing
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes, and ensure that the code is well-documented and follows the coding guidelines.
- Create a pull request.
License
english-transliterate is licensed under the MIT License. Please see the LICENSE file for more details.
Issues
If you encounter any bugs or have feature requests, please open an issue on GitHub. We welcome your feedback and contributions!