Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ravindu01manoj/sinhala-unicode
Sinhala and Tamil Unicode Converter With University of Colombo School of Computing
https://github.com/ravindu01manoj/sinhala-unicode
Last synced: 9 days ago
JSON representation
Sinhala and Tamil Unicode Converter With University of Colombo School of Computing
- Host: GitHub
- URL: https://github.com/ravindu01manoj/sinhala-unicode
- Owner: ravindu01manoj
- Created: 2022-06-29T09:27:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-09T18:08:15.000Z (over 2 years ago)
- Last Synced: 2024-08-09T13:27:00.372Z (3 months ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# SINHALA UNICODE NPM PACKEGE FOR SRI LANKANS
***
- [Ravindu Manoj](https://github.com/ravindu01manoj/)
***
## Installation
```sh
npm i sinhala-unicode## or
yarn add sinhala-unicode
```***
## Functions
```ts
let convert = require("sinhala-unicode")let {
amaleeToUnicode, //Amalee --> Unicode
bamaniToUnicode, //Bamini --> Unicode
dlManelToUnicode, //DL-Manel-bold. --> Unicode
fmAbayaToUnicode, //FM Abhaya --> Unicode
kaputaToUnicode, //kaputadotcom --> Unicode
tanglishToUnicode, //TanGlish (Phonetic) transliterated --> Tamil Unicode
thibusToUnicode, //Thibus Sinhala --> Unicode
unicodeToBamini, //Unicode --> Bamini
unicodeToDlManel, //Unicode --> DL-Manel-bold.
unicodeToKaputa, //Unicode --> kaputadotcom
unicodeToTiptaka, //Unicode --> Tipitaka_Sinhala1
singlishPhoneticToUnicode, //SinGlish (Phonetic) transliterated --> Sinhala Unicode
singlishToUnicode, //SinGlish transliterated --> Sinhala Unicode
} = convert```
***
## Example
```ts
var result;
result = convert.kaputaToUnicode("rvQ[E m@n`j~")
console.log(result) //=> රවිඳු මනොජ්result = convert.unicodeToKaputa("රවිඳු මනොජ්")
console.log(result) //=> rvQ[E m@n`j~result = convert.singlishPhoneticToUnicode("manoj")
console.log(result) //=> මනෝජ්```
***
## Thanks
- Language Technology Research Laboratory - [University of Colombo School of Computing](https://ucsc.cmb.ac.lk//ltrl/services/feconverter/). (2011)