@ooneex/country 0.0.18 → 1.0.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.
- package/README.md +5 -23
- package/dist/en.d.ts +689 -0
- package/dist/en.js +3 -0
- package/dist/en.js.map +9 -0
- package/dist/fr.d.ts +3 -3
- package/dist/fr.js +2 -2
- package/dist/fr.js.map +3 -3
- package/dist/index.d.ts +2082 -7
- package/dist/index.js +2 -1
- package/dist/index.js.map +6 -3
- package/dist/ro.d.ts +3 -3
- package/dist/ro.js +2 -2
- package/dist/ro.js.map +3 -3
- package/dist/shared/chunk-3wdq7rwt.js +4 -0
- package/dist/shared/chunk-3wdq7rwt.js.map +10 -0
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
# @ooneex/country
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Country metadata library providing timezone data, ISO codes, and multi-language localization support for internationalized applications. This package provides type-safe access to country information, IANA timezone data, and localized country names in English, French, Romanian, German, Spanish, and Italian.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|

|
|
7
|
-

|
|
8
|
-

|
|
9
7
|

|
|
10
8
|

|
|
11
9
|
|
|
12
10
|
## Features
|
|
13
11
|
|
|
14
|
-
✅ **Country Data** - Complete list of countries with ISO codes and names
|
|
12
|
+
✅ **Country Data** - Complete list of countries with ISO 3166-1 alpha-2 codes and names
|
|
15
13
|
|
|
16
|
-
✅ **Timezone Support** - Full timezone data powered by @vvo/tzdb
|
|
14
|
+
✅ **Timezone Support** - Full IANA timezone data powered by @vvo/tzdb
|
|
17
15
|
|
|
18
|
-
✅ **Multi-Language** - Localized country names in English, French, and
|
|
16
|
+
✅ **Multi-Language** - Localized country names in English, French, Romanian, German, Spanish, and Italian
|
|
19
17
|
|
|
20
|
-
✅ **Type-Safe** - Full TypeScript support with
|
|
18
|
+
✅ **Type-Safe** - Full TypeScript support with union types for country codes, names, and timezones
|
|
21
19
|
|
|
22
20
|
✅ **Zero Config** - Ready to use out of the box
|
|
23
21
|
|
|
@@ -25,26 +23,10 @@ A comprehensive country data library for TypeScript applications with timezone s
|
|
|
25
23
|
|
|
26
24
|
## Installation
|
|
27
25
|
|
|
28
|
-
### Bun
|
|
29
26
|
```bash
|
|
30
27
|
bun add @ooneex/country
|
|
31
28
|
```
|
|
32
29
|
|
|
33
|
-
### pnpm
|
|
34
|
-
```bash
|
|
35
|
-
pnpm add @ooneex/country
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Yarn
|
|
39
|
-
```bash
|
|
40
|
-
yarn add @ooneex/country
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### npm
|
|
44
|
-
```bash
|
|
45
|
-
npm install @ooneex/country
|
|
46
|
-
```
|
|
47
|
-
|
|
48
30
|
## Usage
|
|
49
31
|
|
|
50
32
|
### Basic Usage
|