0.0.15 • Published 8 years ago
@datagica/parse-cities v0.0.15
City parser
Extract cities from a text.
Installation
$ npm install ---save git+https://git@github.com/datagica/parse-cities.git
Usage
See unit tests
Notes
Warning: the module uses lazy loading: the first time you call a method, it will take about 45sec to 1min (non-blocking) because it has to load this huge list of about 750,000 world cities, generating foreign names on the fly.
Copyright notice
The data comes from this free dataset (please note it has been transformed):