binary-ip

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i binary-ip

Weekly Downloads

14

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ziyaddin