JSPM

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

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

it is easy to use

var address = require('network-address');

console.log(address());    // prints something like 192.168.3.102
console.log(address(2444)) // prints something like 192.168.3.102:2444