1.0.3 • Published 2 years ago

test_npm_omar v1.0.3

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

Test Country Npm

Getting started

Test package that aims to obtain information on international codes and codes of a country

Documentation

Install

npm i test_npm_omar

Functions

countryInformation

const country = require("test_npm_omar");

const code = 593
console.log(country.countryInformation(code))

The expected answer is the following

{
  isoNo: '593',
  iso2: 'EC',
  iso3: 'ECU',
  country: 'Ecuador',
  country_code: 'EC / ECU'
}

If it does not exist it will return null

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago