@ooneex/country 0.0.18 → 1.0.0

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 CHANGED
@@ -1,23 +1,21 @@
1
1
  # @ooneex/country
2
2
 
3
- A comprehensive country data library for TypeScript applications with timezone support and multi-language localization. This package provides type-safe access to country information, timezone data, and localized country names in English, French, and Romanian.
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
  ![Browser](https://img.shields.io/badge/Browser-Compatible-green?style=flat-square&logo=googlechrome)
6
6
  ![Bun](https://img.shields.io/badge/Bun-Compatible-orange?style=flat-square&logo=bun)
7
- ![Deno](https://img.shields.io/badge/Deno-Compatible-blue?style=flat-square&logo=deno)
8
- ![Node.js](https://img.shields.io/badge/Node.js-Compatible-green?style=flat-square&logo=node.js)
9
7
  ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript)
10
8
  ![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)
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 Romanian
16
+ ✅ **Multi-Language** - Localized country names in English, French, Romanian, German, Spanish, and Italian
19
17
 
20
- ✅ **Type-Safe** - Full TypeScript support with proper type definitions
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