1.0.6 • Published 7 years ago

country-information v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Country-Data

This package will provide all basic information about all countries. Currently only supported for node.js. React,Angular,etc.. support will be added soon in update.

Installation

OS X & Linux:

sudo npm install country-information --save

Don't forget to use sudo and --save

Windows:

npm install country-information --save
// note that currently it will work only for node.js

const {getAllNames} = require('country-information');

console.log(getAllNames());

Usage example

Generally,it is too hard to find all basic information about countries like (name,code,population,country code,etc...).So,this package will return json data of all information.

Documentation

Methods

NameDescription
getAllNamesIt will return array of country names
getAllCodesIt will return array of country codes
getNameWithCodeIt will return array of object of names and codes

Release History

  • 1.0.0
    • First release : currently in BETA version

Meta

Kaushal Marakana – kaushalmarakana99@gmail.com

https://github.com/kaushalmarakana/

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago