@sigma-oss/countries

1.2.15 • Public • Published

OSS Countries

Open Source Initiative for country data from Sigma-Ratings

Installation

In order to install countries package, just run:

npm install --save @sigma-oss/countries

Usage

A snippet that shows the library's usage:

import {getCountryDataByCode, getAllCountryData} from '@sigma-oss/countries'

console.log(getCountryDataByCode('br')) // Information regarding Brazil eg: {svg, code, name, emoji, unicode, name, title, dialCode}

console.log(getAllCountryData()) // List with all countries

Readme

Keywords

none

Package Sidebar

Install

npm i @sigma-oss/countries

Weekly Downloads

0

Version

1.2.15

License

Apache-2.0

Unpacked Size

3.55 MB

Total Files

265

Last publish

Collaborators

  • sigma-oss