Socket
Socket
Sign inDemoInstall

17monip

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    17monip

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


Version published
Weekly downloads
13
increased by62.5%
Maintainers
1
Install size
1.07 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 13 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc