Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alwatr/i18n

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/i18n - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

4

CHANGELOG.md

@@ -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 @@

10

package.json
{
"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>
`;
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc