@zerolith/i18n 0.1.0-alpha.1 → 0.1.0-alpha.2
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@ format.number(1234.5, { style: "currency", currency: "EUR" });
|
|
|
16
16
|
- `formatters` wraps `Intl.NumberFormat`, `DateTimeFormat`, `RelativeTimeFormat`, `ListFormat`, and `PluralRules`, cached per locale and options, reading the locale signal when called.
|
|
17
17
|
- `zerolith-i18n` compiles MessageFormat 2 catalogs (`messages/en.json`) into one module per locale, with a function per message and typed arguments, so a locale is one chunk and no message runtime is loaded.
|
|
18
18
|
|
|
19
|
-
The guide is
|
|
19
|
+
The guide is on the [docs site](https://molexxxx.github.io/zerolith/guide/i18n/).
|
|
20
20
|
|
|
21
|
-
Status:
|
|
21
|
+
Status: alpha. Install with `npm install @zerolith/i18n@alpha`; the API may change before 1.0.
|
|
22
22
|
|
|
23
23
|
## License
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerolith/i18n",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "Internationalization for zerolith built on Intl with nothing shipped: locale negotiation and state, direction and document language, cached formatters, and a compiler that turns MessageFormat 2 catalogs into per-locale modules",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "molexxxx",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"build": "tsc -p tsconfig.build.json"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"zerolith": "^0.1.0-alpha.
|
|
51
|
+
"zerolith": "^0.1.0-alpha.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"zerolith": "^0.1.0-alpha.
|
|
54
|
+
"zerolith": "^0.1.0-alpha.2"
|
|
55
55
|
}
|
|
56
56
|
}
|