@lppedd/kotlinx-charset 0.1.5 → 0.1.7
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 +11 -9
- package/kotlinx-charset-exported.mjs +502 -264
- package/kotlinx-charset-exported.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
[](https://mvnrepository.com/artifact/com.lppedd.kotlinx-charset)
|
|
7
7
|
[](https://www.npmjs.com/package/@lppedd/kotlinx-charset)
|
|
8
|
-
[](https://kotlinlang.org)
|
|
9
9
|
[](https://github.com/lppedd/kotlinx-charset/actions/workflows/build.yml)
|
|
10
|
-
[](./LICENSE)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -54,10 +54,12 @@ val encoder = charset.newEncoder()
|
|
|
54
54
|
The `ebcdic` module adds support for:
|
|
55
55
|
|
|
56
56
|
```text
|
|
57
|
-
IBM037 IBM930
|
|
58
|
-
IBM273
|
|
59
|
-
IBM278
|
|
60
|
-
|
|
57
|
+
IBM037 IBM930 IBM1144
|
|
58
|
+
IBM273 IBM937 IBM1146
|
|
59
|
+
IBM278 IBM939 IBM1147
|
|
60
|
+
IBM280 IBM1047 IBM1390
|
|
61
|
+
IBM285 IBM1141 IBM1399
|
|
62
|
+
IBM297 IBM1143
|
|
61
63
|
```
|
|
62
64
|
|
|
63
65
|
You can register supported EBCDIC charsets to your `XCharsetRegistrar`
|
|
@@ -74,10 +76,10 @@ provideEbcdicCharsets(registrar)
|
|
|
74
76
|
|
|
75
77
|
## exported
|
|
76
78
|
|
|
77
|
-
The `exported` module allows JS
|
|
78
|
-
|
|
79
|
+
The `exported` module allows JS consumers to decode bytes and encode strings,
|
|
80
|
+
using top-level functions exported from ECMAScript modules.
|
|
79
81
|
|
|
80
|
-
> [!TIP]
|
|
82
|
+
> [!TIP]
|
|
81
83
|
> Avoid using this module when consuming `kotlinx-charset` from a Kotlin project
|
|
82
84
|
|
|
83
85
|
You can depend on the [@lppedd/kotlinx-charset][npm] npm package.
|