Catalog npm
Back to packageRELEASE DETAILS

2.0.1

npm

17monip

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

17monipcountrycodeip to country codeip2ccip2geocountryip
Published13 Apr 2018
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "8f76600c085e0221facee65efbc3b27dc1881833",
  "tarball": "https://registry.npmjs.org/17monip/-/17monip-2.0.1.tgz",
  "fileCount": 10,
  "unpackedSize": 1120766,
  "integrity": "sha512-wnAP8gAgKi0hFBQ8q62/llTTosvxN3JoZYEw85d+YW2tQBv4y9Zno6X9F1T4xmKBKt9MapTD4lnfRgPzoK+lJg==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCXaApTLbblw/ALEdCS99vcGWuf1xbdnWDbkmDYVIzoXQIhAOSpnWzYz33bhSSAsQmUKUoCzuuj9tvCLigFV8yHZvk6"
    }
  ]
}

Repository

PENDING
abiudoit/17monip

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:0b24cc3ecf786b4236efa462a0cdcb8f7da042b255355fd364c92804c4e963f5

Other collected versions

1.0.19 Sept1.0.09 SeptView all collected versions →