english-transliterate

0.0.8 • Public • Published

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:

  1. Import the library into your JavaScript/TypeScript file:
const translate = require('english-transliterate');
  1. 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:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make your changes, and ensure that the code is well-documented and follows the coding guidelines.
  4. 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!

Package Sidebar

Install

npm i english-transliterate

Weekly Downloads

3

Version

0.0.8

License

MIT

Unpacked Size

7.69 kB

Total Files

6

Last publish

Collaborators

  • apoorvtyagi