country-city-state

1.0.9 • Public • Published

Countries, States, Cities JSON Database

Install

npm i --save country-city-state

Usage

const countryCityState = require('country-city-state')
 
const regions = countryCityState.getCountryRegions('RU')
const cities = countryCityState.getCountryCities('RU')

Countries

BY

KZ

RU

UA

Methods

getCountry(countryCode)

getRegion(regionCode)

getCity(cityId)

getCountryRegions(countryCode)

getCountryCities(countryCode)

getRegionCities(regionCode)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.911latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.911
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i country-city-state

Weekly Downloads

11

Version

1.0.9

License

MIT

Unpacked Size

182 kB

Total Files

9

Last publish

Collaborators

  • pavelwolfdark