https://github.com/baggerfast/cyrl2lat
A simple and efficient package for transliterating Russian (Cyrillic) text to English (Latin) characters. Ideal for converting Russian text into a readable Latin alphabet form, suitable for use in URLs, file names, or just to make Cyrillic text more accessible in English.
https://github.com/baggerfast/cyrl2lat
Last synced: 3 days ago
JSON representation
A simple and efficient package for transliterating Russian (Cyrillic) text to English (Latin) characters. Ideal for converting Russian text into a readable Latin alphabet form, suitable for use in URLs, file names, or just to make Cyrillic text more accessible in English.
- Host: GitHub
- URL: https://github.com/baggerfast/cyrl2lat
- Owner: BaggerFast
- License: mit
- Created: 2024-11-15T11:08:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-15T11:48:36.000Z (about 1 year ago)
- Last Synced: 2025-08-27T07:45:17.903Z (5 months ago)
- Language: TypeScript
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cyrl2lat
[![npm.badge]][npm]
[![MIT][license.badge]][license]
A simple and efficient package for transliterating Russian (Cyrillic) text to English (Latin) characters. Ideal for converting Russian text into a readable Latin alphabet form, suitable for use in URLs, file names, or just to make Cyrillic text more accessible in English.
## Install
```sh
npm install cyrl2lat
```
## Usage
To convert **Ru** to **Latin**
```js
import { transliterate } from 'cyrl2lat'
const text = 'Привет'
const result = transliterate(text)
console.log(result)
```
[npm]: https://www.npmjs.com/package/cyrl2lat
[npm.badge]: https://img.shields.io/npm/v/cyrl2lat
[license.badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license]: ./LICENSE