JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8903
  • Score
    100M100P100Q155278F
  • License MIT

get the local network address of your machine

Package Exports

  • network-address

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (network-address) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

network-address

get the local network address of your machine

npm install network-address

build status

it is easy to use

var address = require('network-address')

console.log(address())      // prints something like 192.168.3.102
console.log(address.ipv6()) // prints something like fc00::5137:ecb:55be:c2fc

it is also available as a command line tool

npm install -g network-address

you are now able to run network-address in your terminal