Skip to content

ricardo-bohorquez/reduced-countries-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reduced-countries-list

This package provides a countries-list where ONLY return their names in JSON format. NOT return data of country code, prefix phone, capital, etc.

the purpose of this package is only provide the names of countries in English language, later the option to use the list in Spanish will be added

Installation

npm install reduced-countries-list

Usage

This is a simple method of use the package:

import reducedCountriesList from "reduced-countries-list"

//Example
for (const country of reducedCountriesList) {
    console.log(country)
}

About

This package reduce the data in the package https://www.npmjs.com/package/countries-list for obtain exclusively the names of countries and provide an list in JSON format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published