JSPM

@kraikov/translitbg

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 54
  • Score
    100M100P100Q75642F
  • License MIT

Bulgarian to Latin (and vice versa) characters transliteration. Forked from https://github.com/petarov/translitbg.js

Package Exports

  • @kraikov/translitbg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kraikov/translitbg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

translitbg

Transliterates Bulgarian to Latin and Latin to Bulgarian characters. Froked from https://github.com/petarov/translitbg.js

Транслитерация на българските букви с латински и на латински с български.

Install

npm install @kraikov/translitbg

or

yarn add @kraikov/translitbg

Usage

import { cyrilicToLatin, latinToCyrilic } from '@kraikov/translitbg'

cyrilicToLatin('абвгдежзийклмнопрстуфхцчшщъьюя'); 
// abvgdezhziyklmnoprstufhtschshshtayyuya

latinToCyrilic('abvgdezhziyklmnoprstufhtschshshtayyuya'); 
// абвгдежзийклмнопрстуфхцчшщъьюя

Development

Run yarn install to install dependencies.

Run yarn test to run tests.

License

MIT