0.5.12 • Published 11 years ago

maxmind-loader v0.5.12

Weekly downloads
18
License
-
Repository
github
Last release
11 years ago

maxmind-loader NPM version Build Status Dependency Status

Get maxmind paid and lite geoip data updates

Install

npm install maxmind-loader

Usage

var maxloader = require('maxmind-loader');

maxloader(callback);

maxloader({
	license: 'MAXMIND_LICENSE', // for paid data
	day:     'tuesday',         // day of the week to load for paid subscription
	edition: 132,               // paid subscription edition
	dest:    './'               // destination_folder_or_filename
}, callback);

Examples

var maxloader = require('maxmind-loader');

maxloader(function() {
	console.log('GeoLiteCity.dat.gz loaded');
});


// paid subscription

var options = {license: 'MAXMIND_LICENSE'};

maxloader(options, function(error, response) {
	if (error) {
		console.log(error);				// error encountered
	} else {
		console.log(response.headers);	// load successful
	}
})

License: MIT

0.5.12

11 years ago

0.5.11

11 years ago

0.5.10

11 years ago

0.5.9

11 years ago

0.5.8

11 years ago

0.5.7

11 years ago

0.5.5

11 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.4.3

11 years ago

0.4.2

11 years ago

0.4.1

11 years ago

0.2.3

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago