not-all-the-cities
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i not-all-the-cities

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

16.1 MB

Total Files

6

Last publish

Collaborators

  • mramericanmike