# maxmind-geolite-mirror

> Mirror maxmind dbs from geolite.maxmind.com

Latest version **1.3.0** (published 2024-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install maxmind-geolite-mirror
pnpm add maxmind-geolite-mirror
yarn add maxmind-geolite-mirror
bun add maxmind-geolite-mirror
```

Provides the command `maxmind-geolite-mirror`.

## 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.3.0 |
| Published | 2024-03-05 |
| First published | 2014-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= v14.0.0 |
| Dependencies | 0 |
| Unpacked size | 15.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Matt Simerson |
| Maintainers | tnpi, msimerson |
| Keywords | geolite, geoip, download, mirror, maxmind |

## Links

- npm: https://www.npmjs.com/package/maxmind-geolite-mirror
- Repository: https://github.com/msimerson/maxmind-geolite-mirror
- Issues: https://github.com/msimerson/maxmind-geolite-mirror/issues
- npm.io page: https://npm.io/package/maxmind-geolite-mirror

## Recent versions

- 1.3.0 (latest) — 2024-03-05
- 1.2.0 — 2023-06-21
- 1.1.8 — 2022-03-14
- 1.1.7 — 2021-09-24
- 1.1.6 — 2020-02-14
- 1.1.5 — 2020-01-16
- 1.1.4 — 2020-01-16
- 1.1.3 — 2019-02-21
- 1.1.1 — 2019-01-10
- 1.1.0 — 2018-03-23
- 1.0.9 — 2018-03-20
- 1.0.8 — 2017-07-14
- 1.0.7 — 2016-07-20
- 1.0.6 — 2016-04-05
- 1.0.5 — 2015-06-24
- … 8 more at https://npm.io/package/maxmind-geolite-mirror/versions

## README

[![Build Status](https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml/badge.svg)](https://github.com/msimerson/maxmind-geolite-mirror/actions/workflows/ci-test.yml)
[![Coverage Status](https://coveralls.io/repos/github/msimerson/maxmind-geolite-mirror/badge.svg?branch=master)](https://coveralls.io/github/msimerson/maxmind-geolite-mirror?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/1d989637c36373336fa3/maintainability)](https://codeclimate.com/github/msimerson/maxmind-geolite-mirror/maintainability)


# maxmind-geolite-mirror

Mirror maxmind GeoIP version 2 databases from maxmind.com.

## Install

    npm install -g maxmind-geolite-mirror
    mkdir -p /usr/local/share/GeoIP
    /usr/local/bin/maxmind-geolite-mirror

The last command will download all the databases to the GeoIP share directory.

## Configure

The MaxMind license key must be configured. It can be set by:

1. editing config.js
2. setting the environment variable MAXMIND_LICENSE_KEY

If neither is set, the script will emit an error.

## Update databases

    /usr/local/bin/maxmind-geolite-mirror

Set this to run once a week or so. Downloads happen only when the remote
file is newer than the local version.

## Custom path to store maxmind database

If access to /usr/local/share/GeoIP is unavailable, the following environment
variable is available: MAXMIND_DB_DIR. E.g.

    export MAXMIND_DB_DIR=/home/example/maxmind-db


## Contributions

Contributions are welcome and appreciated. Please keep in mind the following:

* there are no dependencies. That's on purpose.
* test coverage is at 100%, help keep it that way.


### Contributors

- Carl Banbury
- Tom Lee


### NPM

[![NPM](https://nodei.co/npm/maxmind-geolite-mirror.png?downloads=true&stars=true)](https://nodei.co/npm/maxmind-geolite-mirror/)

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