1.0.0 • Published 7 years ago
find-pi v1.0.0
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
- Arp Wiki - CLI for this module
- find-pi-cli - CLI package for this module
License
MIT © Andrea Amorosi
1.0.0
7 years ago