1.0.1 • Published 7 years ago
binary-ip v1.0.1
binary-ip
Convert an IP address to binary
Install
$ npm install --save binary-ip
Usage
const binaryIp = require('binary-ip');
binaryIp('192.168.43.8');
//=> 11000000.10101000.00101011.00001000
API
binary-ip(input)
input
Type: string
IP address given by the user.
License
MIT © Ziyaddin Sadigov