parse-ipv4
v0.0.2
Published
A through stream that loosely parses out IPv4 addresses.
Downloads
3
Readme
parse-ipv4
parse-ipv4 is a through stream that loosely parses out IPv4 addresses.
Install
npm install parse-ipv4
Example
Find the addresses of other computers on your network
var parseip = require('parse-ipv4')
var spawn = require('child_process').spawn
var arp = spawn('arp', ['-a'])
arp.stdout
.pipe(parseip)
.pipe(process.stdout)
License
MIT