@feizheng/next-ip2info

1.0.1 • Public • Published

next-ip2info

Get infomation from ip.

version license size download

installation

npm install -S @feizheng/next-ip2info

usage

import '@feizheng/next-ip2info';

nx.ip2info('8.8.8.8').then(res=>{
  console.log(res);
});

/*
  {
    ip: '8.8.8.8',
    location: '美国 加利福尼亚州圣克拉拉县山景市谷歌公司DNS服务器',
    os: '未知操作系统',
    browser: '未知浏览器'
  }
*/

resources

license

Code released under the MIT license.

/@feizheng/next-ip2info/

    Package Sidebar

    Install

    npm i @feizheng/next-ip2info

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.73 kB

    Total Files

    6

    Last publish

    Collaborators

    • afeiship