@vm75/inditrans 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  An experimental transliterator library for some [Indic/Brahmic](https://en.wikipedia.org/wiki/Brahmic_scripts) scripts.
4
4
 
5
- - Self-contained and performant. Uses wasm.
5
+ - Uses wasm for near native performance.
6
+ - No dependencies and no server needed.
6
7
  - Supports [vedic accents](https://en.wikipedia.org/wiki/Vedic_accent). Useful for vedic scriptures.
7
8
  - Smart transliteration to and from Tamil. Supports tamil superscript.
8
9
  - Very small footprint (< 80kb uncompressed).
@@ -16,23 +17,29 @@ References:
16
17
  ## Supported scripts
17
18
 
18
19
  - Indic/Brahmic scripts:
19
- - assamese
20
- - bengali
21
- - devanagari
22
- - gujarati
23
- - gurmukhi
24
- - kannada
25
- - malayalam
26
- - oriya
27
- - sinhala
28
- - tamil
29
- - telugu
30
- - Latin/Roman scripts
31
- - iast (https://en.wikipedia.org/wiki/International_Alphabet_of_Sanskrit_Transliteration)
32
- - ipa (https://en.wikipedia.org/wiki/International_Phonetic_Alphabet)
33
- - iso 15919 (https://en.wikipedia.org/wiki/ISO_15919)
34
- - itrans (https://en.wikipedia.org/wiki/ITRANS)
35
- - readablelatin (easy to read in Latin alphabets with some customizations)
20
+ - Assamese
21
+ - Bengali
22
+ - Burmese
23
+ - Devanagari
24
+ - Gujarati
25
+ - Gurmukhi
26
+ - Kannada
27
+ - Khmer
28
+ - Malayalam
29
+ - Oriya
30
+ - Sinhala
31
+ - Tamil
32
+ - Tamil-Extended
33
+ - Telugu
34
+ - Tibetan
35
+ - Thai
36
+ - Latin/Roman scripts:
37
+ - IAST (https://en.wikipedia.org/wiki/International_Alphabet_of_Sanskrit_Transliteration)
38
+ - IPA (https://en.wikipedia.org/wiki/International_Phonetic_Alphabet)
39
+ - ISO 15919 (https://en.wikipedia.org/wiki/ISO_15919)
40
+ - ITRANS (https://en.wikipedia.org/wiki/ITRANS)
41
+ - ReadableLatin (easy to read in Latin alphabets with some customizations)
42
+ - TITUS (https://titus.uni-frankfurt.de/indexe.htm)
36
43
 
37
44
  ## Installation
38
45
 
@@ -4,5 +4,5 @@ export declare enum Option {
4
4
  TamilSuperscripted = 2,
5
5
  ASCIINumerals = 4,
6
6
  IgnoreVedicAccents = 8,
7
- ShowQuotedMarkers = 16
7
+ RetainSpecialMarkers = 16
8
8
  }
@@ -8,6 +8,6 @@ var Option;
8
8
  Option[Option["TamilSuperscripted"] = 2] = "TamilSuperscripted";
9
9
  Option[Option["ASCIINumerals"] = 4] = "ASCIINumerals";
10
10
  Option[Option["IgnoreVedicAccents"] = 8] = "IgnoreVedicAccents";
11
- Option[Option["ShowQuotedMarkers"] = 16] = "ShowQuotedMarkers";
11
+ Option[Option["RetainSpecialMarkers"] = 16] = "RetainSpecialMarkers";
12
12
  })(Option = exports.Option || (exports.Option = {}));
13
13
  //# sourceMappingURL=Option.js.map
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm75/inditrans",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "An experimental transliterator library for some Indic/Brahmic scripts.",
5
5
  "main": "./dist/src/index.js",
6
6
  "author": "VM75",
@@ -41,27 +41,31 @@
41
41
  "typescript": "^4.5.4"
42
42
  },
43
43
  "keywords": [
44
- "transliterator",
45
- "transliteration",
46
- "indian",
47
- "indian language",
48
- "indian script",
49
- "devanagari",
50
- "tamil",
51
- "sanskrit",
52
- "telugu",
53
- "kannada",
54
- "malayalam",
55
- "bengali",
56
- "gurmukhi",
57
- "gujarati",
58
- "oriya",
59
- "brahmic",
60
- "vedic accents",
61
- "wasm",
44
+ "Transliterate",
45
+ "Indian",
46
+ "Indian language",
47
+ "Indian script",
48
+ "Devanagari",
49
+ "Tamil",
50
+ "Sanskrit",
51
+ "Telugu",
52
+ "Kannada",
53
+ "Malayalam",
54
+ "Bengali",
55
+ "Gurmukhi",
56
+ "Gujarati",
57
+ "Oriya",
58
+ "Brahmic",
59
+ "Thai",
60
+ "Tibetan",
61
+ "Burmese",
62
+ "Khmer",
63
+ "Vedic accents",
64
+ "Wasm",
62
65
  "ISO 15919",
63
66
  "IAST",
64
67
  "ITRANS",
65
- "IPA"
68
+ "IPA",
69
+ "TITUS"
66
70
  ]
67
71
  }
package/CHANGELOG.md DELETED
@@ -1,103 +0,0 @@
1
- ## 0.4.2
2
-
3
- - Added case insensitive support for iast, iso and ipa. Added support for extended latin chars with composition
4
-
5
- ## 0.4.1
6
-
7
- - Split symbols, Zero Width chars and Vedic symbols
8
-
9
- ## 0.4.0
10
-
11
- - Lot of refactoring.
12
-
13
- ## 0.3.6
14
-
15
- - Refactored nodejs interface. Updated readme.
16
-
17
- ## 0.3.5
18
-
19
- - Fixed wasm, tests and nodejs support
20
-
21
- ## 0.3.4
22
-
23
- - Fixed some corner case
24
-
25
- ## 0.3.3
26
-
27
- - Added support for Tamil prefix
28
-
29
- ## 0.3.2
30
-
31
- - Renamed indicroman to readablelatin
32
-
33
- ## 0.3.1
34
-
35
- - Improved Tamil transliteration based on rules
36
-
37
- ## 0.2.0
38
-
39
- - Fixed Sinhara symbols
40
-
41
- ## 0.1.9
42
-
43
- - modified easyroman and renamed to readablelatin
44
-
45
- ## 0.1.8
46
-
47
- - Made InferAnuswara automatic. Fixed Diacritic for Vowels.
48
-
49
- ## 0.1.7
50
-
51
- - fixed bug for indic
52
-
53
- ## 0.1.6
54
-
55
- - exported indic, added 2 scripts, fixed roman
56
-
57
- ## 0.1.5
58
-
59
- - Added fromString to Script enum
60
-
61
- ## 0.1.4
62
-
63
- - re-publish from correct branch.
64
-
65
- ## 0.1.3
66
-
67
- - Fixed build error
68
-
69
- ## 0.1.2
70
-
71
- - Added option to use ASCII numerals
72
-
73
- ## 0.1.1
74
-
75
- - fixed inferAnuswara for consonants after ma
76
-
77
- ## 0.1.0
78
-
79
- - Removed unnecessary Inditrans class. Added helpful scripts.
80
-
81
- ## 0.0.6
82
-
83
- - fixed example.
84
-
85
- ## 0.0.5
86
-
87
- - fixed android build issue.
88
-
89
- ## 0.0.4
90
-
91
- - removed unnecessary code and files.
92
-
93
- ## 0.0.3
94
-
95
- - Added comments and fixed formatting and example.
96
-
97
- ## 0.0.2
98
-
99
- - Fixed ffi_lib for non-web
100
-
101
- ## 0.0.1
102
-
103
- - Initial release