4.4.1 • Published 5 years ago

vtranslit v4.4.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

vtranslit

A transliterator between ITRANS and any Indic Script.

Currently supports transliteration from ITRANS (Itrn) to:

It also supports transliteration from the above mentioned schemes to ITRANS.

This package is a library and is useful only for developers.

However, users can avail vTranslit's cli or web app.

Installation

> npm install vtranslit

Node usage

const { vTranslit } = require('vtranslit');

// install necessary schemes from npm (links given above)
const { vTranslitSchemeDeva } = require('vtranslit-scheme-deva');
const { vTranslitSchemeItrn } = require('vtranslit-scheme-itrn');

// add schemes to vTranslit
const vtranslit = vTranslit(
  [
    vTranslitSchemeDeva,
    vTranslitSchemeItrn
  ]
);

// from ITRANS scheme to Devanagari scheme
const vtItrnToDeva = vtranslit.init('Itrn', 'Deva');

console.log(vtItrnToDeva('<stringToTransliterate>');

// from Devanagari scheme to ITRANS scheme
const vtDevaToItrn = vtranslit.init('Deva', 'Itrn');

console.log(vtDevaToItrn('<stringToTransliterate>');

The codes for scheme are based on the ISO 15924 (Codes for the representation of names of scripts), expect ITRANS which is given a similar code in accordance with the standards definition.

4.4.1

5 years ago

4.4.0

6 years ago

4.3.1

6 years ago

4.3.0

6 years ago

4.2.0

6 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.0.1

6 years ago

3.5.0

6 years ago

3.4.0

6 years ago

3.3.1

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

2.2.0

6 years ago

3.0.0

6 years ago

2.1.0

6 years ago

1.0.1-0

6 years ago

1.0.0

6 years ago