cities15000-json
v1.0.0
Published
cities15000 in JSON
Downloads
10
Readme
cities15000-json
A list of almost all cities in a huge JSON. This is a port of river-jade/cities15000 converted to JSON, original data from geonames.org.
Installation
npm install cities15000-json --save
Usage
const cities = require('cities15000-json')
cities.filter(city => city.name.match('Helsinki'))
All cities in a lower-cased map:
const citiesMap = require('cities15000-json/map')
console.log(citiesMap['helsinki'])
License
Data
Copyright geonames.org
Creative commons attribution 3.0 (CC-BY)