0.0.3 • Published 11 months ago

not-all-the-cities v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Not All The Cities

Over 10000 Population

31793 Cities

Over 1000 Population

111211 Cities

Usage

const NotAllTheCities = require("not-all-the-cities");

const NATC = new NotAllTheCities("10k");

let CITIES = NATC.getOverWithCustomKeys(5000000, ["name", "lat", "lng"]);

console.log(CITIES[0]);
{
	"name": "Buenos Aires",
	"lat": -34.61315,
	"lng": -58.37723
}

More Documentation pending...


All the data used to create this library comes from GeoNames.org

The data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.