devanagari transliteration for SLP1 and IAST
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
LICENSE
Makefile
Readme.md
component.json
package.json
salita.js

Readme.md

salita - devanagari transliteration

Installation

With node.js:

$ npm install salita-component

or with component

$ component install mbykov/salita

Or as standalone version:

<script src="salita.js"></script>

API

var salita = require('salita');
salita.slp2sa('satyAnfta').should.equal('सत्यानृत');
salita.sa2slp('सत्यानृत').should.equal('satyAnfta');
salita.iast2sa('satyAnfta').should.equal('सत्यानृत');
salita.sa2iast('सत्यानृत').should.equal('satyAnfta');

View more examples in test suite

Running node tests

$ make test

Running browser tests

open text/index.html

License

GNU GPL