/binary-ip

Convert an IP address to binary

Primary LanguageJavaScriptMIT LicenseMIT

binary-ip Build Status

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