# @datagica/parse-cities

> City parser. Warning: initial module loading time is slow.

Latest version **0.0.15** (published 2017-07-18) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @datagica/parse-cities
pnpm add @datagica/parse-cities
yarn add @datagica/parse-cities
bun add @datagica/parse-cities
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.15 |
| Published | 2017-07-18 |
| First published | 2016-02-06 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Julian Bilcke |
| Maintainers | datagica |

## Links

- npm: https://www.npmjs.com/package/@datagica/parse-cities
- Repository: https://bitbucket.org/datagica/parse-cities
- Homepage: https://bitbucket.org/datagica/parse-cities#readme
- npm.io page: https://npm.io/package/@datagica/parse-cities

## Dependencies (1)

- [@datagica/parse-entities](https://npm.io/package/@datagica/parse-entities.md) ^0.2.6

## Recent versions

- 0.0.15 (latest) — 2017-07-18
- 0.0.14 — 2017-07-18
- 0.0.13 — 2017-07-17
- 0.0.12 — 2017-07-17
- 0.0.11 — 2017-07-10
- 0.0.2 — 2016-02-06
- 0.0.1 — 2016-02-06

## README

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):

+ http://dev.maxmind.com/geoip/legacy/geolite/
+ http://dev.maxmind.com/geoip/geoip2/geolite2/

---
_Source: https://npm.io/package/@datagica/parse-cities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
