per-country
v1.1.1
Published
Country Information
Downloads
5
Readme
Country Information
Install the package
npm i per-country
Usage require() and import()
const { countries } = require('per-country')
// ES module
import { countries } from 'per-country'
[
...,
{
"name": "Philippines",
"code": "PH",
"capital": "Manila",
"region": "AS",
"currency": {
"code": "PHP",
"name": "Philippine peso",
"symbol": "₱"
},
"language": {
"code": "en",
"name": "English"
},
"dialling_code": "63",
"isoCode": "608",
"flag": "https://mikesaraus.github.io/per-country/flag/ph.svg"
},
...
]