This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-qqwry

0.0.2 • Public • Published

node-qqwry

基于cz88纯真IP数据库的lbs解析,IP转高德经纬度

可实现:

IP转地址; P转行政区划名称,目前可精确到国内城市级; IP转行政区划对应的坐标bounds,坐标类型为高德系;

Installation

通过npm 进行安装

  npm install node-qqwry

或通过github 进行安装

  git clone https://github.com/yhostc/node-qqwry.git

Examples

通过IP获取地址

var lbs = require('node-qqwry');
lbs.getAddress('106.155.177.79');
lbs.getArea('106.155.177.79');
lbs.getBounds('106.155.177.79');

Tests

 
node test.js

版权

BSD 谁爱用谁用 yhostc

Readme

Keywords

none

Package Sidebar

Install

npm i node-qqwry

Weekly Downloads

1

Version

0.0.2

License

BSD

Last publish

Collaborators

  • yhostc