geoip-qqwry

0.0.6 • Public • Published

geoip-qqwry

A light weight native JavaScript implementation of GeoIP API

geoip-qqwry Build Status

Installation

$ npm i [-g] geoip-qqwry [--save]

Usage

~$ qqwry
~> geoip-qqwry@0.0.3

 - lookup [ip]
 - update
 - version
 - help

~$ qqwry lookup 114.114.114.114
~> 江苏省南京市 南京信风网络科技有限公司GreatbitDNS服务器

Example

const qqwry = require('geoip-qqwry');

const { lookup } = qqwry();

console.log(lookup('8.8.8.8')); 
//=> [ '美国', '加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器' ]

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


/geoip-qqwry/

    Package Sidebar

    Install

    npm i geoip-qqwry

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    10.5 MB

    Total Files

    12

    Last publish

    Collaborators

    • song940