1.0.0 • Published 4 years ago
iso3166-alpha-converter v1.0.0
ISO 3166 Alpha Code Converter
Convert between alpha2 ('us') and alpha3 ('USA') ISO 3166 country codes
Usage
import { alpha2to3, alpha3to2 } from 'iso3166-alpha-converter'
alpha2to3["us"] // -> "USA"
alpha3to2["USA"] // -> "us"
Development
# Setup
npm install
poetry install
# Build
npm run build
# Test
npm test
License
Data comes from this wikipedia page and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
1.0.0
4 years ago
0.0.1-security
4 years ago