
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Bu loyiha o'zbek so'zlari va matnlarini lotin alifbosidan kirill alifbosiga va kirill alifbosidan lotin alifbosiga o'girish uchun mo'ljallangan. Dastur murakkab o'zbek so'zlarini, chet tilidan o'zlashgan so'zlarni va maxsus qoidalarni hisobga olgan holda aniq transliteratsiya qiladi.
latinToCyrillic funksiyasi)cyrillicToLatin funksiyasi)# npm orqali o'rnatish
npm install lycy
# yarn orqali o'rnatish
yarn add lycy
# pnpm orqali o'rnatish
pnpm add lycy
import { latinToCyrillic, cyrillicToLatin } from 'lycy';
// Lotin alifbosidan kirill alifbosiga
const cyrillicText = latinToCyrillic("O'zbekiston Respublikasi");
console.log(cyrillicText); // Ўзбекистон Республикаси
// Kirill alifbosidan lotin alifbosiga
const latinText = cyrillicToLatin("Ўзбекистон Республикаси");
console.log(latinText); // O'zbekiston Respublikasi
Dastur 500 dan ortiq so'zlar uchun maxsus qoidalarni qo'llaydi. Bu so'zlar ko'pincha chet tilidan o'zlashgan bo'lib, ular standart transliteratsiya qoidalariga bo'ysunmaydi. Masalan:
Bunday so'zlar uchun exactWordMap, specialWordMap va patternWordMap lug'atlari yaratilgan.
Dastur quyidagi holatlarni ham qo'llab-quvvatlaydi:
This project provides tools for transliterating Uzbek words and texts from Latin to Cyrillic alphabet and vice versa. The algorithm handles complex Uzbek words, loanwords, and special rules to ensure accurate transliteration.
latinToCyrillic function)cyrillicToLatin function)# Install with npm
npm install lycy
# Install with yarn
yarn add lycy
# Install with pnpm
pnpm add lycy
import { latinToCyrillic, cyrillicToLatin } from 'lycy';
// Latin to Cyrillic
const cyrillicText = latinToCyrillic("O'zbekiston Respublikasi");
console.log(cyrillicText); // Ўзбекистон Республикаси
// Cyrillic to Latin
const latinText = cyrillicToLatin("Ўзбекистон Республикаси");
console.log(latinText); // O'zbekiston Respublikasi
The library implements special rules for more than 500 words. These words are often loanwords that don't follow standard transliteration rules. For example:
Dictionaries like exactWordMap, specialWordMap, and patternWordMap are used to handle these special cases.
The library also supports:
The implementation uses pattern matching and dictionary-based replacement to ensure accurate transliteration. The code is structured around several key data structures:
exactWordMap: Maps exact words that need special transliterationspecialWordMap: Handles special cases like "sirka" -> "сирка"patternWordMap: Manages pattern-based replacements like "tsiya" -> "ция"Contributions are welcome to improve the transliteration rules, add more special cases, or optimize the code.
FAQs
Uzbek to Cyrillic transliterator
We found that lycy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.