# lookip

> IP lookup package. Will use different configurable ip-lookup services in future.

Latest version **1.0.1** (published 2016-01-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install lookip
pnpm add lookip
yarn add lookip
bun add lookip
```

## 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.1 |
| Published | 2016-01-15 |
| First published | 2016-01-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Denis Demchenko |
| Maintainers | lancedikson |
| Keywords | ip, lookup, iplookup, geoip, maxmind |

## Links

- npm: https://www.npmjs.com/package/lookip
- Repository: https://github.com/lancedikson/lookip
- Homepage: https://github.com/lancedikson/lookip#readme
- Issues: https://github.com/lancedikson/lookip/issues
- npm.io page: https://npm.io/package/lookip

## Dependencies (2)

- [geoip-lite](https://npm.io/package/geoip-lite.md) ^1.1.6
- [object-merge](https://npm.io/package/object-merge.md) ^2.5.1

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-01-15
- 1.0.0 — 2016-01-15

## README

# LookIP

IP lookup package. Will use different configurable ip-lookup services in future.

## Usage

```
var LookIP = require('../lib');
var lookip = new LookIP();
lookip.lookup('8.8.8.8');

/*
{ range: [ 134744064, 134744319 ],
  country: 'US',
  region: 'CA',
  city: 'Mountain View',
  ll: [ 37.386, -122.0838 ],
  metro: 807 }
*/
```

## Idea

There are many ip lookup packages used different services. Some day I've tried Rails geocoder gem, that has convinient API and use different services (and other gems) for lookup.

Now we at Videoly need that npm package and have started to write it. If you are interested to extend the package, you are welcome, send me PR please.

## Now

Now package supports only `geoip-lite` integration.

## Roadmap

I want to add `Promise`s support for make async queries to the IP DB soon. In future I plan add support for another ip-lookup services and make auto download and update MaxMind DB for the package.

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