Next Phenomenal Microbrewery

    serbian-transliterator
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    SerbianTransliterator

    This is Angular library for transliterating from Serbian cyrilic to Serbian latinic, and vice versa.

    Installation and how to use

    Let's install it:

    npm install serbian-transliterator

    Import the library into a module:

    import { SerbianTransliteratorModule } from 'serbian-transliterator';
     
    ...
     
    @NgModule({
      declarations: [ ...  ],
      imports: [
        ...
        SerbianTransliteratorModule
      ],
      ...
    })

    Use it in HTML files:

    <p>latinic transliteration: <strong>{{ 'аутоматски' | transliterator }}</strong></p>

    or with explicitly set transliterator:

      <p>cyrilic transliteration: <strong>{{ 'ručno' | transliterator: cir }}</strong></p>

    More details

    Take a look into ./src/app/app.module.ts and ./src/app/app.component.html files.

    About

    The library is developed to solve transliteration on Značenje project, so you can use this website as demo. Apart of that, it is planned to be integrated on CirLat and Knjige.

    Install

    npm i serbian-transliterator

    DownloadsWeekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    81.5 kB

    Total Files

    24

    Last publish

    Collaborators

    • mnicic