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)

/country-city-state/

    Package Sidebar

    Install

    npm i country-city-state

    Weekly Downloads

    3

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    182 kB

    Total Files

    9

    Last publish

    Collaborators

    • pavelwolfdark