Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 508 Bytes

File metadata and controls

36 lines (19 loc) · 508 Bytes

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