@alwatr/i18n
Advanced tools
Comparing version 0.20.0 to 0.21.0
@@ -6,2 +6,6 @@ # Change Log | ||
# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13) | ||
**Note:** Version bump only for package @alwatr/i18n | ||
# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05) | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "@alwatr/i18n", | ||
"version": "0.20.0", | ||
"version": "0.21.0", | ||
"description": "Elegant powerful translation module (i18n/l10n) with dynamic json storage written in tiny TypeScript, ES module.", | ||
@@ -35,8 +35,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@alwatr/fetch": "^0.20.0", | ||
"@alwatr/logger": "^0.20.0", | ||
"@alwatr/signal": "^0.20.0", | ||
"@alwatr/fetch": "^0.21.0", | ||
"@alwatr/logger": "^0.21.0", | ||
"@alwatr/signal": "^0.21.0", | ||
"tslib": "^2.4.1" | ||
}, | ||
"gitHead": "537f53e355475ae6ba652d4eb2c6d26fe77be12c" | ||
"gitHead": "b4a565ee520e5a9fab404f539463109b6af19aa9" | ||
} |
@@ -1,26 +0,3 @@ | ||
# @alwatr/i18n | ||
# Alwatr Internationalization - `@alwatr/i18n` | ||
Elegant powerful translation module (i18n/l10n) with dynamic json storage written in tiny TypeScript, ES module. | ||
## Example usage | ||
@TODO: update docs from ts files | ||
### Initialize | ||
```js | ||
import {initialI18n} from 'https://esm.run/@alwatr/i18n'; | ||
initialI18n(); | ||
``` | ||
### Localize in template string | ||
```js | ||
import {localize} from 'https://esm.run/@alwatr/i18n'; | ||
render() { | ||
return html` | ||
<p>${localize('Hello_World')}</p> | ||
`; | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17504
4
+ Added@alwatr/fetch@0.21.0(transitive)
+ Added@alwatr/logger@0.21.0(transitive)
+ Added@alwatr/signal@0.21.0(transitive)
- Removed@alwatr/fetch@0.20.0(transitive)
- Removed@alwatr/logger@0.20.0(transitive)
- Removed@alwatr/signal@0.20.0(transitive)
Updated@alwatr/fetch@^0.21.0
Updated@alwatr/logger@^0.21.0
Updated@alwatr/signal@^0.21.0