Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petarov/translitbg.js
Българска транслитерация (Bulgarian to Latin transliteration for JS)
https://github.com/petarov/translitbg.js
bulgaria bulgarian-language transliterate-bulgarian transliterates-bulgarian transliteration
Last synced: about 2 months ago
JSON representation
Българска транслитерация (Bulgarian to Latin transliteration for JS)
- Host: GitHub
- URL: https://github.com/petarov/translitbg.js
- Owner: petarov
- License: mit
- Created: 2013-01-26T13:06:56.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T10:11:22.000Z (2 months ago)
- Last Synced: 2024-11-09T22:03:29.201Z (about 2 months ago)
- Topics: bulgaria, bulgarian-language, transliterate-bulgarian, transliterates-bulgarian, transliteration
- Language: JavaScript
- Homepage: http://petarov.github.io/translitbg.js/
- Size: 1.69 MB
- Stars: 20
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
translitbg
=================[![CircleCI][cci-image]][cci-url] [![npm version][npm-image]][npm-url]
[cci-url]: https://circleci.com/gh/petarov/translitbg.js
[cci-image]: https://circleci.com/gh/petarov/translitbg.js.svg?style=svg
[npm-url]: https://www.npmjs.com/package/translitbg
[npm-image]: https://img.shields.io/npm/v/translitbg.svgTransliterates Bulgarian to Latin characters
Транслитерация на българските букви с латински, наречена още латинска транслитерация или латинизация/романизация на българския език.
# Install
npm install translitbg
or
yarn add translitbg
# Usage
Import in Node:
```javascript
const translitbg = require('translitbg').default
```Add to a web page:
```html
```
Usage:
```javascript
translitbg('абвгдежзийклмнопрстуфхцчшщъьюя');
// abvgdezhziyklmnoprstufhtschshshtayyuya
translitbg('Стара планина');
// Stara planina
translitbg('Горна Оряховица');
// Gorna Oryahovitsa
```# Development
Run `yarn install` to install dependencies
Run `yarn test` to run tests
Run `yarn build` to create build
# References
* [Закон за транслитерацията](http://bg.wikisource.org/wiki/%D0%97%D0%B0%D0%BA%D0%BE%D0%BD_%D0%B7%D0%B0_%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F%D1%82%D0%B0)
* [Транслитерация на българските букви с латински](http://bg.wikipedia.org/wiki/%D0%A2%D1%80%D0%B0%D0%BD%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F_%D0%BD%D0%B0_%D0%B1%D1%8A%D0%BB%D0%B3%D0%B0%D1%80%D1%81%D0%BA%D0%B8%D1%82%D0%B5_%D0%B1%D1%83%D0%BA%D0%B2%D0%B8_%D1%81_%D0%BB%D0%B0%D1%82%D0%B8%D0%BD%D1%81%D0%BA%D0%B8)# License
[MIT](LICENSE)