Need Project Manager

    ips

    2.1.3 • Public • Published

    ips

    Get local, docker and public IP addresses

    Install

    Package use

    npm install ips --save

    CLI

    npm install ips -g

    Examples

    Command line

    ips

    Basic

    var ips = require('ips')
    var result = ips()
     
    console.log(result) // ex: { local: '192.168.10.3', docker: '192.168.10.103' }

    With External IP

    var ips = require('ips')
    ips(function(err, data) {
      console.log(data) // ex: { local: '192.168.10.3', public: '70.22.12.182' }
    })

    License: MIT

    Install

    npm i ips

    DownloadsWeekly Downloads

    33

    Version

    2.1.3

    License

    MIT

    Last publish

    Collaborators

    • yieme