Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var maxmind = require('maxmind');
maxmind.init(__dirname + '/GeoIPASNum.dat');
console.log('ASN:', maxmind.getOrganization('66.6.44.4'));