ip2location.node

1.1.1 • Public • Published

IP2Location.node

ip2location.com bindings for nodejs

Usage

see example

API

  • 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

Benchmark

100000 calls to query means 180+ ms

Installation

$ npm install ip2location.node --save

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i ip2location.node

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • yorkie