tamil-toolkit 0.1.0-alpha.3 → 0.1.0-alpha.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 +5 -5
- package/THIRD_PARTY_NOTICES.md +4 -3
- package/dist/api.d.ts +8 -0
- package/dist/api.js +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/web.d.ts +1 -1
- package/dist/web.js +1 -1
- package/package.json +1 -1
- package/pkg-node/README.md +5 -5
- package/pkg-node/package.json +1 -1
- package/pkg-node/tamil_toolkit_bg.wasm +0 -0
- package/pkg-web/README.md +5 -5
- package/pkg-web/package.json +1 -1
- package/pkg-web/tamil_toolkit_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -26,13 +26,13 @@ TypeScript and WASM are thin bindings to the shared Rust implementation.
|
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
29
|
-
Node.js 22+ is supported. Install alpha
|
|
29
|
+
Node.js 22+ is supported. Install alpha 4 from npm’s `alpha` dist-tag:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
npm install tamil-toolkit@alpha
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The `alpha` tag points to `0.1.0-alpha.
|
|
35
|
+
The `alpha` tag points to `0.1.0-alpha.4`; npm’s `latest` tag still points to
|
|
36
36
|
`0.1.0-alpha.1`. The version badge above tracks the `alpha` tag.
|
|
37
37
|
|
|
38
38
|
## Node quick start
|
|
@@ -60,9 +60,9 @@ console.log(get_letters("தமிழ்").join(" | "));
|
|
|
60
60
|
The host page or bundler must serve the packaged WASM asset as an ES module
|
|
61
61
|
asset. The Node entry point initializes its native WASM module automatically.
|
|
62
62
|
|
|
63
|
-
## Alpha
|
|
63
|
+
## Alpha 4 scope
|
|
64
64
|
|
|
65
|
-
The npm `0.1.0-alpha.
|
|
65
|
+
The npm `0.1.0-alpha.4` package includes the capabilities listed above. The
|
|
66
66
|
shared `execute` API exposes `lt_tm_codes_to_unicode`, `lt_tm_text_to_unicode`,
|
|
67
67
|
`unicode_to_lt_tm_codes`, and `unicode_to_lt_tm_text`. LT-TM conversion handles
|
|
68
68
|
selected 16-bit code sequences; it does not parse PDFs, select font runs, or
|
|
@@ -86,7 +86,7 @@ const text = tamil.execute({ op: "lt_tm_codes_to_unicode", input: { codes } });
|
|
|
86
86
|
- [Unicode/core contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/core-v0.1.md)
|
|
87
87
|
- [Collation contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/collate-v0.1.md)
|
|
88
88
|
- [Numerals, fractions, and dates](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/numerals-v0.2.md)
|
|
89
|
-
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-
|
|
89
|
+
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-4.md#compatibility-and-scope)
|
|
90
90
|
- [LT-TM CID profile contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/codec-lt-tm.md)
|
|
91
91
|
- [Third-party notices](https://github.com/abishtakan/tamil-toolkit/blob/master/THIRD_PARTY_NOTICES.md)
|
|
92
92
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -8,9 +8,10 @@ Unicode 17 and CLDR 49 data: https://www.unicode.org/ and https://cldr.unicode.o
|
|
|
8
8
|
Bamini mapping sources: https://github.com/ag-sanjjeev/app-tamil-fonts-unicode-converter
|
|
9
9
|
and https://github.com/Pakeetharan/unicode-bamini-converter
|
|
10
10
|
TSCII mapping source: https://github.com/mayooresan/Android-TamilUtil
|
|
11
|
-
LT-TM mapping
|
|
12
|
-
scope are recorded in docs/specs/codec-lt-tm.md
|
|
13
|
-
applicable to the
|
|
11
|
+
LT-TM and Vanavil mapping references: Azhagi+ Portable configurations; source
|
|
12
|
+
digests and scope are recorded in docs/specs/codec-lt-tm.md and
|
|
13
|
+
docs/specs/codec-vanavil.md. Their bundled terms remain applicable to the
|
|
14
|
+
derived mapping tables.
|
|
14
15
|
Exact sources, revisions, digests and profile limits are recorded at:
|
|
15
16
|
https://github.com/abishtakan/tamil-toolkit/tree/HEAD/tests/reference
|
|
16
17
|
and https://github.com/abishtakan/tamil-toolkit/tree/HEAD/docs/specs
|
package/dist/api.d.ts
CHANGED
|
@@ -49,6 +49,14 @@ export declare function createApi(nativeExecute: (request: string) => string): {
|
|
|
49
49
|
unicode_to_tab_bytes: (text: string) => number[];
|
|
50
50
|
tscii_bytes_to_unicode: (bytes: Uint8Array | number[]) => string;
|
|
51
51
|
unicode_to_tscii_bytes: (text: string) => number[];
|
|
52
|
+
lt_tm_codes_to_unicode: (codes: Uint16Array | number[], errors?: CodecErrorPolicy) => string;
|
|
53
|
+
lt_tm_text_to_unicode: (text: string, errors?: CodecErrorPolicy) => string;
|
|
54
|
+
unicode_to_lt_tm_codes: (text: string) => number[];
|
|
55
|
+
unicode_to_lt_tm_text: (text: string) => string;
|
|
56
|
+
vanavil_codes_to_unicode: (codes: Uint16Array | number[], errors?: CodecErrorPolicy) => string;
|
|
57
|
+
vanavil_text_to_unicode: (text: string, errors?: CodecErrorPolicy) => string;
|
|
58
|
+
unicode_to_vanavil_codes: (text: string) => number[];
|
|
59
|
+
unicode_to_vanavil_text: (text: string) => string;
|
|
52
60
|
format_fraction: (numerator: number, denominator: number, digits?: DigitStyle) => string;
|
|
53
61
|
fraction_to_words: (numerator: number, denominator: number, locale?: Locale) => string;
|
|
54
62
|
fraction_symbol: (numerator: number, denominator: number) => string;
|
package/dist/api.js
CHANGED
|
@@ -26,6 +26,14 @@ export function createApi(nativeExecute) {
|
|
|
26
26
|
unicode_to_tab_bytes: (text) => execute({ op: "unicode_to_tab_bytes", input: { text } }),
|
|
27
27
|
tscii_bytes_to_unicode: (bytes) => execute({ op: "tscii_bytes_to_unicode", input: { bytes: Array.from(bytes) } }),
|
|
28
28
|
unicode_to_tscii_bytes: (text) => execute({ op: "unicode_to_tscii_bytes", input: { text } }),
|
|
29
|
+
lt_tm_codes_to_unicode: (codes, errors = "strict") => execute({ op: "lt_tm_codes_to_unicode", input: { codes: Array.from(codes), errors } }),
|
|
30
|
+
lt_tm_text_to_unicode: (text, errors = "strict") => execute({ op: "lt_tm_text_to_unicode", input: { text, errors } }),
|
|
31
|
+
unicode_to_lt_tm_codes: (text) => execute({ op: "unicode_to_lt_tm_codes", input: { text } }),
|
|
32
|
+
unicode_to_lt_tm_text: (text) => execute({ op: "unicode_to_lt_tm_text", input: { text } }),
|
|
33
|
+
vanavil_codes_to_unicode: (codes, errors = "strict") => execute({ op: "vanavil_codes_to_unicode", input: { codes: Array.from(codes), errors } }),
|
|
34
|
+
vanavil_text_to_unicode: (text, errors = "strict") => execute({ op: "vanavil_text_to_unicode", input: { text, errors } }),
|
|
35
|
+
unicode_to_vanavil_codes: (text) => execute({ op: "unicode_to_vanavil_codes", input: { text } }),
|
|
36
|
+
unicode_to_vanavil_text: (text) => execute({ op: "unicode_to_vanavil_text", input: { text } }),
|
|
29
37
|
format_fraction: (numerator, denominator, digits = "latin") => execute({ op: "format_fraction", input: { numerator, denominator, digits } }),
|
|
30
38
|
fraction_to_words: (numerator, denominator, locale = "TN") => execute({ op: "fraction_to_words", input: { numerator, denominator, locale } }),
|
|
31
39
|
fraction_symbol: (numerator, denominator) => execute({ op: "fraction_symbol", input: { numerator, denominator } }),
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type { Uyirmei, Request, Inspection, Locale, Currency, CodecErrorPolicy, DigitStyle, DateStyle } from "./api.js";
|
|
2
|
-
export declare const execute: (request: import("./api.js").Request) => unknown, get_letters: (text: string) => string[], normalize_nfc: (text: string) => string, normalize_nfd: (text: string) => string, split_uyirmei: (text: string) => import("./api.js").Uyirmei, compose_uyirmei: (mei: string, uyir: string) => string, inspect_tamil_string: (text: string) => import("./api.js").Inspection, compare: (left: string, right: string) => -1 | 0 | 1, sort_words: (words: string[]) => string[], sort_key: (text: string) => number[], search_key: (text: string) => number[], to_words: (value: number, locale?: import("./api.js").Locale) => string, format_currency: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, currency_to_words: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, bamini_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_bamini: (text: string) => string, anjal_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_anjal_bytes: (text: string) => number[], tam_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tam_bytes: (text: string) => number[], tab_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tab_bytes: (text: string) => number[], tscii_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tscii_bytes: (text: string) => number[], format_fraction: (numerator: number, denominator: number, digits?: import("./api.js").DigitStyle) => string, fraction_to_words: (numerator: number, denominator: number, locale?: import("./api.js").Locale) => string, fraction_symbol: (numerator: number, denominator: number) => string, format_date: (year: number, month: number, day: number, locale?: import("./api.js").Locale, style?: import("./api.js").DateStyle, digits?: import("./api.js").DigitStyle) => string;
|
|
2
|
+
export declare const execute: (request: import("./api.js").Request) => unknown, get_letters: (text: string) => string[], normalize_nfc: (text: string) => string, normalize_nfd: (text: string) => string, split_uyirmei: (text: string) => import("./api.js").Uyirmei, compose_uyirmei: (mei: string, uyir: string) => string, inspect_tamil_string: (text: string) => import("./api.js").Inspection, compare: (left: string, right: string) => -1 | 0 | 1, sort_words: (words: string[]) => string[], sort_key: (text: string) => number[], search_key: (text: string) => number[], to_words: (value: number, locale?: import("./api.js").Locale) => string, format_currency: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, currency_to_words: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, bamini_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_bamini: (text: string) => string, anjal_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_anjal_bytes: (text: string) => number[], tam_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tam_bytes: (text: string) => number[], tab_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tab_bytes: (text: string) => number[], tscii_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tscii_bytes: (text: string) => number[], lt_tm_codes_to_unicode: (codes: Uint16Array | number[], errors?: import("./api.js").CodecErrorPolicy) => string, lt_tm_text_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_lt_tm_codes: (text: string) => number[], unicode_to_lt_tm_text: (text: string) => string, vanavil_codes_to_unicode: (codes: Uint16Array | number[], errors?: import("./api.js").CodecErrorPolicy) => string, vanavil_text_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_vanavil_codes: (text: string) => number[], unicode_to_vanavil_text: (text: string) => string, format_fraction: (numerator: number, denominator: number, digits?: import("./api.js").DigitStyle) => string, fraction_to_words: (numerator: number, denominator: number, locale?: import("./api.js").Locale) => string, fraction_symbol: (numerator: number, denominator: number) => string, format_date: (year: number, month: number, day: number, locale?: import("./api.js").Locale, style?: import("./api.js").DateStyle, digits?: import("./api.js").DigitStyle) => string;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { execute as nativeExecute } from "../pkg-node/tamil_toolkit.js";
|
|
2
2
|
import { createApi } from "./api.js";
|
|
3
|
-
export const { execute, get_letters, normalize_nfc, normalize_nfd, split_uyirmei, compose_uyirmei, inspect_tamil_string, compare, sort_words, sort_key, search_key, to_words, format_currency, currency_to_words, bamini_to_unicode, unicode_to_bamini, anjal_bytes_to_unicode, unicode_to_anjal_bytes, tam_bytes_to_unicode, unicode_to_tam_bytes, tab_bytes_to_unicode, unicode_to_tab_bytes, tscii_bytes_to_unicode, unicode_to_tscii_bytes, format_fraction, fraction_to_words, fraction_symbol, format_date } = createApi(nativeExecute);
|
|
3
|
+
export const { execute, get_letters, normalize_nfc, normalize_nfd, split_uyirmei, compose_uyirmei, inspect_tamil_string, compare, sort_words, sort_key, search_key, to_words, format_currency, currency_to_words, bamini_to_unicode, unicode_to_bamini, anjal_bytes_to_unicode, unicode_to_anjal_bytes, tam_bytes_to_unicode, unicode_to_tam_bytes, tab_bytes_to_unicode, unicode_to_tab_bytes, tscii_bytes_to_unicode, unicode_to_tscii_bytes, lt_tm_codes_to_unicode, lt_tm_text_to_unicode, unicode_to_lt_tm_codes, unicode_to_lt_tm_text, vanavil_codes_to_unicode, vanavil_text_to_unicode, unicode_to_vanavil_codes, unicode_to_vanavil_text, format_fraction, fraction_to_words, fraction_symbol, format_date } = createApi(nativeExecute);
|
package/dist/web.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import init from "../pkg-web/tamil_toolkit.js";
|
|
2
2
|
export { init };
|
|
3
3
|
export type { Uyirmei, Request, Inspection, Locale, Currency, CodecErrorPolicy, DigitStyle, DateStyle } from "./api.js";
|
|
4
|
-
export declare const execute: (request: import("./api.js").Request) => unknown, get_letters: (text: string) => string[], normalize_nfc: (text: string) => string, normalize_nfd: (text: string) => string, split_uyirmei: (text: string) => import("./api.js").Uyirmei, compose_uyirmei: (mei: string, uyir: string) => string, inspect_tamil_string: (text: string) => import("./api.js").Inspection, compare: (left: string, right: string) => -1 | 0 | 1, sort_words: (words: string[]) => string[], sort_key: (text: string) => number[], search_key: (text: string) => number[], to_words: (value: number, locale?: import("./api.js").Locale) => string, format_currency: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, currency_to_words: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, bamini_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_bamini: (text: string) => string, anjal_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_anjal_bytes: (text: string) => number[], tam_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tam_bytes: (text: string) => number[], tab_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tab_bytes: (text: string) => number[], tscii_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tscii_bytes: (text: string) => number[], format_fraction: (numerator: number, denominator: number, digits?: import("./api.js").DigitStyle) => string, fraction_to_words: (numerator: number, denominator: number, locale?: import("./api.js").Locale) => string, fraction_symbol: (numerator: number, denominator: number) => string, format_date: (year: number, month: number, day: number, locale?: import("./api.js").Locale, style?: import("./api.js").DateStyle, digits?: import("./api.js").DigitStyle) => string;
|
|
4
|
+
export declare const execute: (request: import("./api.js").Request) => unknown, get_letters: (text: string) => string[], normalize_nfc: (text: string) => string, normalize_nfd: (text: string) => string, split_uyirmei: (text: string) => import("./api.js").Uyirmei, compose_uyirmei: (mei: string, uyir: string) => string, inspect_tamil_string: (text: string) => import("./api.js").Inspection, compare: (left: string, right: string) => -1 | 0 | 1, sort_words: (words: string[]) => string[], sort_key: (text: string) => number[], search_key: (text: string) => number[], to_words: (value: number, locale?: import("./api.js").Locale) => string, format_currency: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, currency_to_words: (amount_minor: number, currency: import("./api.js").Currency, locale?: import("./api.js").Locale) => string, bamini_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_bamini: (text: string) => string, anjal_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_anjal_bytes: (text: string) => number[], tam_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tam_bytes: (text: string) => number[], tab_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tab_bytes: (text: string) => number[], tscii_bytes_to_unicode: (bytes: Uint8Array | number[]) => string, unicode_to_tscii_bytes: (text: string) => number[], lt_tm_codes_to_unicode: (codes: Uint16Array | number[], errors?: import("./api.js").CodecErrorPolicy) => string, lt_tm_text_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_lt_tm_codes: (text: string) => number[], unicode_to_lt_tm_text: (text: string) => string, vanavil_codes_to_unicode: (codes: Uint16Array | number[], errors?: import("./api.js").CodecErrorPolicy) => string, vanavil_text_to_unicode: (text: string, errors?: import("./api.js").CodecErrorPolicy) => string, unicode_to_vanavil_codes: (text: string) => number[], unicode_to_vanavil_text: (text: string) => string, format_fraction: (numerator: number, denominator: number, digits?: import("./api.js").DigitStyle) => string, fraction_to_words: (numerator: number, denominator: number, locale?: import("./api.js").Locale) => string, fraction_symbol: (numerator: number, denominator: number) => string, format_date: (year: number, month: number, day: number, locale?: import("./api.js").Locale, style?: import("./api.js").DateStyle, digits?: import("./api.js").DigitStyle) => string;
|
package/dist/web.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import init, { execute as nativeExecute } from "../pkg-web/tamil_toolkit.js";
|
|
2
2
|
import { createApi } from "./api.js";
|
|
3
3
|
export { init };
|
|
4
|
-
export const { execute, get_letters, normalize_nfc, normalize_nfd, split_uyirmei, compose_uyirmei, inspect_tamil_string, compare, sort_words, sort_key, search_key, to_words, format_currency, currency_to_words, bamini_to_unicode, unicode_to_bamini, anjal_bytes_to_unicode, unicode_to_anjal_bytes, tam_bytes_to_unicode, unicode_to_tam_bytes, tab_bytes_to_unicode, unicode_to_tab_bytes, tscii_bytes_to_unicode, unicode_to_tscii_bytes, format_fraction, fraction_to_words, fraction_symbol, format_date } = createApi(nativeExecute);
|
|
4
|
+
export const { execute, get_letters, normalize_nfc, normalize_nfd, split_uyirmei, compose_uyirmei, inspect_tamil_string, compare, sort_words, sort_key, search_key, to_words, format_currency, currency_to_words, bamini_to_unicode, unicode_to_bamini, anjal_bytes_to_unicode, unicode_to_anjal_bytes, tam_bytes_to_unicode, unicode_to_tam_bytes, tab_bytes_to_unicode, unicode_to_tab_bytes, tscii_bytes_to_unicode, unicode_to_tscii_bytes, lt_tm_codes_to_unicode, lt_tm_text_to_unicode, unicode_to_lt_tm_codes, unicode_to_lt_tm_text, vanavil_codes_to_unicode, vanavil_text_to_unicode, unicode_to_vanavil_codes, unicode_to_vanavil_text, format_fraction, fraction_to_words, fraction_symbol, format_date } = createApi(nativeExecute);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamil-toolkit",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {"type": "git", "url": "https://github.com/abishtakan/tamil-toolkit.git", "directory": "bindings/js-wasm"},
|
|
6
6
|
"homepage": "https://github.com/abishtakan/tamil-toolkit#readme",
|
package/pkg-node/README.md
CHANGED
|
@@ -26,13 +26,13 @@ TypeScript and WASM are thin bindings to the shared Rust implementation.
|
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
29
|
-
Node.js 22+ is supported. Install alpha
|
|
29
|
+
Node.js 22+ is supported. Install alpha 4 from npm’s `alpha` dist-tag:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
npm install tamil-toolkit@alpha
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The `alpha` tag points to `0.1.0-alpha.
|
|
35
|
+
The `alpha` tag points to `0.1.0-alpha.4`; npm’s `latest` tag still points to
|
|
36
36
|
`0.1.0-alpha.1`. The version badge above tracks the `alpha` tag.
|
|
37
37
|
|
|
38
38
|
## Node quick start
|
|
@@ -60,9 +60,9 @@ console.log(get_letters("தமிழ்").join(" | "));
|
|
|
60
60
|
The host page or bundler must serve the packaged WASM asset as an ES module
|
|
61
61
|
asset. The Node entry point initializes its native WASM module automatically.
|
|
62
62
|
|
|
63
|
-
## Alpha
|
|
63
|
+
## Alpha 4 scope
|
|
64
64
|
|
|
65
|
-
The npm `0.1.0-alpha.
|
|
65
|
+
The npm `0.1.0-alpha.4` package includes the capabilities listed above. The
|
|
66
66
|
shared `execute` API exposes `lt_tm_codes_to_unicode`, `lt_tm_text_to_unicode`,
|
|
67
67
|
`unicode_to_lt_tm_codes`, and `unicode_to_lt_tm_text`. LT-TM conversion handles
|
|
68
68
|
selected 16-bit code sequences; it does not parse PDFs, select font runs, or
|
|
@@ -86,7 +86,7 @@ const text = tamil.execute({ op: "lt_tm_codes_to_unicode", input: { codes } });
|
|
|
86
86
|
- [Unicode/core contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/core-v0.1.md)
|
|
87
87
|
- [Collation contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/collate-v0.1.md)
|
|
88
88
|
- [Numerals, fractions, and dates](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/numerals-v0.2.md)
|
|
89
|
-
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-
|
|
89
|
+
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-4.md#compatibility-and-scope)
|
|
90
90
|
- [LT-TM CID profile contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/codec-lt-tm.md)
|
|
91
91
|
- [Third-party notices](https://github.com/abishtakan/tamil-toolkit/blob/master/THIRD_PARTY_NOTICES.md)
|
|
92
92
|
|
package/pkg-node/package.json
CHANGED
|
Binary file
|
package/pkg-web/README.md
CHANGED
|
@@ -26,13 +26,13 @@ TypeScript and WASM are thin bindings to the shared Rust implementation.
|
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
29
|
-
Node.js 22+ is supported. Install alpha
|
|
29
|
+
Node.js 22+ is supported. Install alpha 4 from npm’s `alpha` dist-tag:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
npm install tamil-toolkit@alpha
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The `alpha` tag points to `0.1.0-alpha.
|
|
35
|
+
The `alpha` tag points to `0.1.0-alpha.4`; npm’s `latest` tag still points to
|
|
36
36
|
`0.1.0-alpha.1`. The version badge above tracks the `alpha` tag.
|
|
37
37
|
|
|
38
38
|
## Node quick start
|
|
@@ -60,9 +60,9 @@ console.log(get_letters("தமிழ்").join(" | "));
|
|
|
60
60
|
The host page or bundler must serve the packaged WASM asset as an ES module
|
|
61
61
|
asset. The Node entry point initializes its native WASM module automatically.
|
|
62
62
|
|
|
63
|
-
## Alpha
|
|
63
|
+
## Alpha 4 scope
|
|
64
64
|
|
|
65
|
-
The npm `0.1.0-alpha.
|
|
65
|
+
The npm `0.1.0-alpha.4` package includes the capabilities listed above. The
|
|
66
66
|
shared `execute` API exposes `lt_tm_codes_to_unicode`, `lt_tm_text_to_unicode`,
|
|
67
67
|
`unicode_to_lt_tm_codes`, and `unicode_to_lt_tm_text`. LT-TM conversion handles
|
|
68
68
|
selected 16-bit code sequences; it does not parse PDFs, select font runs, or
|
|
@@ -86,7 +86,7 @@ const text = tamil.execute({ op: "lt_tm_codes_to_unicode", input: { codes } });
|
|
|
86
86
|
- [Unicode/core contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/core-v0.1.md)
|
|
87
87
|
- [Collation contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/collate-v0.1.md)
|
|
88
88
|
- [Numerals, fractions, and dates](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/numerals-v0.2.md)
|
|
89
|
-
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-
|
|
89
|
+
- [Codec contract and alpha 3 limits](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/releases/alpha-4.md#compatibility-and-scope)
|
|
90
90
|
- [LT-TM CID profile contract](https://github.com/abishtakan/tamil-toolkit/blob/master/docs/specs/codec-lt-tm.md)
|
|
91
91
|
- [Third-party notices](https://github.com/abishtakan/tamil-toolkit/blob/master/THIRD_PARTY_NOTICES.md)
|
|
92
92
|
|
package/pkg-web/package.json
CHANGED
|
Binary file
|