Synergy-Shock/country-codes-list
List of codes per country (languages, calling codes, currency codes, etc)
🗺️ Danh sách mã quốc gia đầy đủ theo chuẩn ISO
Một module TypeScript cung cấp danh sách mã quốc gia, tiền tệ, ngôn ngữ, mã gọi điện và nhiều thông tin khác theo chuẩn quốc tế.
country-codes-list là một thư viện TypeScript cung cấp danh sách mã cho từng quốc gia, bao gồm mã quốc gia (ISO 3166-1 alpha-2 và alpha-3), mã tiền tệ (ISO 4217), mã số thuế (TIN/VAT), ngôn ngữ chính thức, mã gọi điện và phân vùng khu vực. Tất cả dữ liệu đều được lấy từ nguồn uy tín như Wikipedia, OpenStreetMap và ITU.
✨ Điểm nổi bật
- Mã quốc gia 2 và 3 chữ số: Tuân thủ chuẩn ISO 3166-1 alpha-2 và alpha-3.
- Tên quốc gia bằng tiếng Anh và tiếng địa phương: Hỗ trợ quốc tế hóa (i18n).
- Mã tiền tệ và tên tiền tệ: Theo chuẩn ISO 4217.
- Mã số thuế (TIN/VAT): Hỗ trợ xác thực thuế giữa các quốc gia.
- Ngôn ngữ chính thức: Mã và tên ngôn ngữ bằng tiếng Anh và tiếng địa phương.
- Mã gọi điện quốc tế: Mã số gọi điện thoại cho từng quốc gia.
- Phân vùng khu vực: Phân loại theo chuẩn của ITU.
- Hỗ trợ TypeScript và CommonJS: Tương thích với cả hai môi trường module.
💡 Vì sao đáng chú ý
Dự án cung cấp một nguồn dữ liệu đáng tin cậy và được cập nhật theo chuẩn quốc tế, giúp các nhà phát triển dễ dàng tích hợp thông tin địa lý vào ứng dụng mà không cần tự thu thập dữ liệu. Đặc biệt, hàm customList cho phép người dùng tùy biến đầu ra bằng cách sử dụng placeholder, rất tiện lợi cho các trường hợp cần hiển thị thông tin quốc gia theo định dạng riêng.
#country-codes #ISO3166 #ISO4217 #TypeScript #i18n #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries
Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries
A Rust library that contains collection of all sorts of useful information for every country.
CountriesNow is an Open source API for retrieving geo-information for countries, including their states, cities, population, etc. 🌎
Country Flag with Dial Number Code
ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets
Rinvex Country is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.