How to use the maxmind.getOrganization function in maxmind

To help you get started, we’ve selected a few maxmind examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github runk / node-maxmind / examples / asn.js View on Github external
var maxmind = require('maxmind');
maxmind.init(__dirname + '/GeoIPASNum.dat');

console.log('ASN:', maxmind.getOrganization('66.6.44.4'));

maxmind

IP lookup using Maxmind databases

MIT
Latest version published 25 days ago

Package Health Score

86 / 100
Full package analysis