17monip

2.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i 17monip

Weekly Downloads

9

Version

2.0.1

License

MIT

Unpacked Size

1.12 MB

Total Files

10

Last publish

Collaborators

  • abiu