intor 2.3.0 → 2.3.1

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.
Files changed (2) hide show
  1. package/README.md +16 -15
  2. package/package.json +3 -1
package/README.md CHANGED
@@ -1,22 +1,23 @@
1
- # Intor
1
+ <h1 align="center">Intor</h1>
2
2
 
3
- A modular and extensible i18n core for JavaScript/TypeScript.
3
+ <div align="center">
4
+
5
+ A lightweight, framework-agnostic i18n engine that works instantly with a clean, type-safe API.
6
+ Fast to start, easy to extend, and free from the usual i18n heaviness.
4
7
 
5
- ## Features
8
+ </div>
6
9
 
7
- - ✅ Runtime configuration
8
- - ✅ Backend and frontend support
9
- - ✅ Custom messages and adapters
10
- - ✅ Caching, error handling, and logging
10
+ <div align="center">
11
11
 
12
- ## Installation
12
+ [![NPM version](https://img.shields.io/npm/v/intor?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/intor)
13
+ [![Bundle size](https://img.shields.io/bundlephobia/minzip/intor?style=flat&colorA=000000&colorB=000000)](https://bundlephobia.com/package/intor)
14
+ [![TypeScript](https://img.shields.io/badge/TypeScript-%E2%9C%94-blue?style=flat&colorA=000000&colorB=000000)](https://www.typescriptlang.org/)
15
+ [![License](https://img.shields.io/npm/l/intor?style=flat&colorA=000000&colorB=000000)](LICENSE)
13
16
 
14
- ```bash
15
- npm install intor
16
- ```
17
+ </div>
17
18
 
18
- Or use **yarn**
19
+ <div align="center">
19
20
 
20
- ```bash
21
- yarn add intor
22
- ```
21
+ #### 🍳 Cooking the Intor v2 docs, crafting them to perfection...
22
+
23
+ </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intor",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A modular and extensible i18n core designed for TypeScript and JavaScript projects. Intor enables custom translation logic with support for both frontend and backend environments, featuring runtime configuration, caching, adapters, and message loaders.",
5
5
  "author": "Yiming Liao",
6
6
  "license": "MIT",
@@ -63,6 +63,8 @@
63
63
  "README.md",
64
64
  "LICENSE"
65
65
  ],
66
+ "main": "./dist/exports/index.js",
67
+ "module": "./dist/exports/index.js",
66
68
  "type": "module",
67
69
  "scripts": {
68
70
  "type": "tsc --noEmit",