1.0.0 • Published 6 years ago
ls-lan v1.0.0
ls-lan
List all IPs on the local LAN
npm install -g ls-lanUsage
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 LANThere 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
1.0.0
6 years ago