salita-component
v1.4.1
Published
devanagari transliteration for slp1 and iast
Downloads
9
Maintainers
Readme
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