# glottolog-geo-extractor

> Extracts geographical coordinates of languages from the Glottolog repository.

Latest version **1.0.0** (published 2020-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install glottolog-geo-extractor
pnpm add glottolog-geo-extractor
yarn add glottolog-geo-extractor
bun add glottolog-geo-extractor
```

Provides the command `glottolog-geo-extractor`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-08 |
| First published | 2020-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Danylo Mysak |
| Maintainers | danmysak |
| Keywords | Glottolog, language, family, latitude, longitude |

## Links

- npm: https://www.npmjs.com/package/glottolog-geo-extractor
- Repository: https://github.com/danmysak/glottolog-geo-extractor
- Homepage: https://github.com/danmysak/glottolog-geo-extractor#readme
- Issues: https://github.com/danmysak/glottolog-geo-extractor/issues
- npm.io page: https://npm.io/package/glottolog-geo-extractor

## Dependencies (3)

- [g](https://npm.io/package/g.md) ^2.0.1
- [ini](https://npm.io/package/ini.md) ^1.3.5
- [command-line-args](https://npm.io/package/command-line-args.md) ^5.1.1

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-01-08

## README

# Glottolog Geo Extractor

This script extracts geographical coordinates of languages from the [Glottolog repository](https://github.com/glottolog/glottolog) (tested with version 4.1).

Installation: `npm install -g glottolog-geo-extractor`.

Usage:

1) `glottolog-geo-extractor --path {path} --families {families}`

    - `{path}` is the path to the Glottolog repo (use quotes);
    - `{families}` is a list of top-level languoid codes separated with spaces (or just one code).
    
    Such a query will return an array of coordinates (latitude/longitude) of all languages that belong to either of the families.

2) `glottolog-geo-extractor --path {path} --families {families} --languages {languages}`

    - `{path}` is the path to the Glottolog repo (use quotes);
    - `{families}` is a list of top-level languoid codes separated with spaces (or just one code);
    - `{languages}` is a list of bottom-level languoid codes separated with spaces (or just one code).
    
    Such a query will return an array of coordinates (latitude/longitude) of just the provided languages, searching them within the given families.

For finding out the languoid code of the language or family you are interested in, use [Glottolog](https://glottolog.org/) search and examine the last part of the generated URL.

---
_Source: https://npm.io/package/glottolog-geo-extractor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
