Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISO 3166 Country Code Search

Search for country codes using fuzzy search.

Installation

npm i -g iso3166-country-codes-cli

Usage

Fuzzy search using a simple term

cntry <query> # eg: cntry zim

# {
#   "name": "Zimbabwe",
#   "alpha2": "ZW",
#   "alpha3": "ZWE",
#   "numeric": "716"
# }

Reverse search using an alpha2 or alpha3 code.

Note: The code can be upper/lower/mixed case, but has to be an exact match.

cntry <query> -r # eg: cntry zwe -r

# {
#   "name": "Zimbabwe",
#   "alpha2": "ZW",
#   "alpha3": "ZWE",
#   "numeric": "716"
# }

About

CLI tool to search ISO 3166 country codes (supports fuzzy search)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages