smarttranslite

A simply translite for strings

Usage no npm install needed!

<script type="module">
  import smarttranslite from 'https://cdn.skypack.dev/smarttranslite';
</script>

README

Smart translite

A simple and easy to use translite function in node.js

So hope this library help someone like me.

Any ideas are appreciated.

Quick Examples


var translite = require('smarttranslite');

var transliterate_title = translite('Проверка транслитерации');

Output

<div class="paginator">
    <a href="/admin/kino/page/4/" rel="prev" class="paginator-previous">Предыдущая</a>
    <a href="/admin/kino/" class="paginator-page paginator-page-first">1</a>
    <a href="/admin/kino/page/2/" class="paginator-page">2</a>
    <a href="/admin/kino/page/3/" class="paginator-page">3</a>
    <a href="/admin/kino/page/4/" class="paginator-page">4</a>
    <a href="/admin/kino/page/5/" class="paginator-current">5</a>
    <a href="/admin/kino/page/6/" class="paginator-page">6</a>
    <a href="/admin/kino/page/7/" class="paginator-page">7</a>
    <a href="/admin/kino/page/8/" class="paginator-page">8</a>
    <a href="/admin/kino/page/9/" class="paginator-page">9</a>
    <a href="/admin/kino/page/10/" class="paginator-page paginator-page-last">10</a>
    <a href="/admin/kino/page/6/" rel="next" class="paginator-next">Следующая</a>
</div>