1.0.0 • Published 7 years ago

find-pi v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

find-pi

Returns the IP address of a Raspberry Pi on a local network.

Requires arp (address resolution protocol) to work.

Install

$ npm install --global find-pi

or

$ yarn global add find-pi

Usage

const findPi = require('find-pi')

findPi()
  .then(ip => console.log(ip))
  .catch(err => console.error(err))
// 192.168.1.2

Related

License

MIT © Andrea Amorosi