Cyr2Lat library Installation $ npm install cyr2lat Using const { translit, slug } = require("cyr2lat");console.log(translit("Текст")); // Tekstconsole.log(slug("Заголовок новости")); // zagolovok-novosti