# 17monip

> find country code of special ip by 17monip database locally. only save country code ,so it is more faster.

Latest version **2.0.1** (published 2018-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install 17monip
pnpm add 17monip
yarn add 17monip
bun add 17monip
```

## 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 | 2.0.1 |
| Published | 2018-04-13 |
| First published | 2017-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | abiu |
| Maintainers | abiu |
| Keywords | ip2cc, ip2geo, 17monip, ip to country code, countryCode |

## Links

- npm: https://www.npmjs.com/package/17monip
- Repository: https://github.com/abiuDoIT/17monip
- Homepage: https://github.com/abiuDoIT/17monip#readme
- Issues: https://github.com/abiuDoIT/17monip/issues
- npm.io page: https://npm.io/package/17monip

## Recent versions

- 2.0.1 (latest) — 2018-04-13
- 1.0.1 — 2017-09-09
- 1.0.0 — 2017-09-09

## README

# 17monip
find country of ip by 17monip database local.
I restruct the ipdata ,integrate same country ip during.
so this module only support country code info, it is more faster.
if you want to update the ip database, update the file '17monipdb.dat' and then excute change.js.
# how to use
```
npm install 17monip
```

```
const findIp = require('17monip');
let country_code = findIp('5.121.2.3');

console.log(country_code);//IR
```

# how about efficiency
you can excute index.test.js

on my mac,finding 1000,000 ips only need <200ms

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