qqwry

0.1.1 • Public • Published

NodeJS driver for libqqwry

Get geo for ip

Data from QQWry.dat

The c library is base on libqqwry

I'm a beginner with c++, if you find some bugs in it, please post a issue.

Install

npm install qqwry

Usage

Download qqwry.dat from QQWry.dat

var qqwry = require("qqwry");

var qqwry = qqwry.open(__dirname + "/qqwry.dat");
console.log(qqwry.query("115.193.152.250"));
console.log(qqwry.query("222.73.68.35"));
console.log(qqwry.query("220.191.113.36"));
qqwry.close();

Readme

Keywords

none

Package Sidebar

Install

npm i qqwry

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • hidden