1.1.1 • Published 10 years ago
ip2location.node v1.1.1
IP2Location.node
ip2location.com bindings for nodejs
Usage
see example
API
IP2Location(path, mtype)
your ip2location binrary file pathpath
your binary pathmtype
the way you access binary data later, you should set it:use_cache
default valueuse_shared_memory
use_file_io
.query(ip)
: list all profile
Benchmark
100000 calls to query
means 180+ ms
Installation
$ npm install ip2location.node --save
License
MIT