1.0.1 • Published 4 years ago

@scuba-squad/country-db v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Country DB

Purpose

Database of countries in json format

Notes:

This repo while registered as an npm module should remain agnostic so that it may be used with several languages and platforms.

Installation

Via npm

npm install @scuba-squad/country-db

Usage

const countries = require('@scuba-squad/country-db');

Object Structure

v1.0.0

{
  "name": "string",
  "iso2Code": "string",
  "iso3Code": "string",
  "isoNumericCode": "string",
  "postalCodeRegEx": "string | null",
  "callingCode": "string | string[]"
}

License

MIT