Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

kwztr

zava828ISC1.0.3

kwztr is a module to transliterate indian,srilankan,nepal,bangladesh languages

language, transliterator, transliterate, hindi, tamil, kannada, malayalam, telugu, sinhala, bengali, marathi, nepali, punjabi, gujarati, odia, oriya

readme

this repository is for npmjs kwztr package.

kwztr is a module to transliterate indian languages.

  1. assαmi
  2. bengαli/banglα
  3. oriyα/odiα
  4. тelugu
  5. тamil
  6. malayαlam
  7. kannadα
  8. marαthi
  9. guzrαтi
  10. ɦinԃi
  11. punzαbi/gurmukhi
  12. sanskriт
  13. sinɦalα

this module to be used in the webextension:

  1. firefox addon ztr.

source code eksecution phlo

  1. package.json -> main is called/run : ("main": "kwztr.js" , kwztr.js)
  2. class kwztr
    1. transliterate(input_str,a2b=u2i)
    2. transliterate_dom_node(node_arg, a2b=u2i)
    3. untransliterate_dom_node()

ztr_direction_const values can be :

  1. u2i for unicode indian/sinhalα scripts to ińglish31 : 26a-z + 5ADHTN/αԃɦтń

ascii510 : american standard code for information interchange decimal digits : 0 1 2 3 4 5 6 7 8 9 5+5=10

hscii810 : heksadesiml standard kode for informesn interchenz heksadesiml dizits : 0 1 2 3 4 5 6 7 8 9 Y J Q W P F 8+8=10=wnti=4*4=solɦ=ekti 4 finger maтhs

steps to clone , build , test & publish

  1. git clone ... # this repozitri
  2. change source(do not change version in package.json, npm version command in next step vill change version no) if needed
  3. test : kwztr/test $node script.js
  4. if tests passed then only : git commit & publish

    git add . ; git commit -am "some comments" ; git push

  5. npm version patch

  6. npm login
  7. npm publish

steps to use library

  1. define ascii or hscii or code mapping as in example zabc.js in this repository.
  2. it is to define a dictionary with keys as :

`js

  1. import library as in your js file:

`js import kwztr from 'kwztr'; const unicode_str = 'हिन्दी विकिपीडिया' ; let t = new kwztr(); let ing31str = t.transliterate(unicode_str,"u2i");