1.0.6 • Published 3 years ago

geolist v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

GeoList

http://badge.fury.io/js/geolist

GeoList is dataset based on http://www.geonames.org/ that can be used for searching countries, cities and timezones. This package aims to provide access to this dataset without the need for an external service. Currently I'm still testing this package, I'll try my best to update it frequently or as needed.

Database last updated: 09/19/2021

Getting Started

Install

npm i geolist --save

Example

Get all countries

import geolist from 'geolist'
geolist.getAllCities()

Search cities by name

import geolist from 'geolist'
geolist.searchCitiesByName("Springfield").then((result)=>console.log(result))
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago