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

@drewjbartlett/i17n

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drewjbartlett/i17n - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json

@@ -5,3 +5,3 @@ {

"type": "module",
"version": "0.0.6",
"version": "0.0.7",
"files": [

@@ -8,0 +8,0 @@ "dist"

@@ -9,10 +9,10 @@ # i17n

✅ basic `{ "key": "value" }` translations `t('key')`
✅ nested `{ "key": "child": "value" }` translations `t('key.child')`
✅ interpolated values `t('Hello, {name}!', { name: 'Drew' })`
✅ count based translations `t('tree', { count: 1 }) // "tree"`, `t('tree', { count: 10 }) // "trees"`
✅ smart caching - after a key is resolved once it is read from a cache
✅ extending core translations
✅ lightweight - 1.4kB
✅ TypeScript Support
- ✅ basic `{ "key": "value" }` translations `t('key')`
- ✅ nested `{ "key": "child": "value" }` translations `t('key.child')`
- ✅ interpolated values `t('Hello, {name}!', { name: 'Drew' })`
- ✅ count based translations `t('tree', { count: 1 }) // "tree"`, `t('tree', { count: 10 }) // "trees"`
- ✅ smart caching - after a key is resolved once it is read from a cache
- ✅ extending core translations
- ✅ lightweight - 1.4kB
- ✅ TypeScript Support

@@ -19,0 +19,0 @@

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