1.0.0 • Published 6 years ago

ls-lan v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

ls-lan

List all IPs on the local LAN

npm install -g ls-lan

Usage

Simply lists all IPs on the local LAN. Currently only works on macOS, but PR support for other OS'es

ls-lan # Prints a list of IPs found on the local LAN

There is a js API available as well

const ls = require('ls-lan')

ls(function (err, ips) {
  if (err) throw err
  console.log(ips.join('\n'))
})

License

MIT