ip2location.com bindings for nodejs
see example
-
IP2Location(path, mtype)
your ip2location binrary file path-
path
your binary path -
mtype
the way you access binary data later, you should set it:-
use_cache
default value -
use_shared_memory
-
use_file_io
-
-
-
.query(ip)
: list all profile
100000 calls to query
means 180+ ms
$ npm install ip2location.node --save
MIT