UNPKG

countries-name

Version:
24 lines (14 loc) 270 B
# countries-name Get name by country code. # Install ```shell $ npm i countries-name ``` # Simple ```js import { cName } from "countries-name"; console.log(cName("cn")); // China console.log(cName(["CN", "Fr", "FRA"])); // ['China', 'France'] ``` # License MIT