Socket
Socket
Sign inDemoInstall

@scuba-squad/country-db

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @scuba-squad/country-db

json country database


Version published
Weekly downloads
1
Maintainers
1
Install size
44.8 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 31 Dec 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc