ipv6-to-bin
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ipv6-to-bin", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Converts an ipv6 address to a binary form", | ||
@@ -5,0 +5,0 @@ "main": "src/ipv6-to-bin.js", |
@@ -1,2 +0,29 @@ | ||
# ipv6-to-bin | ||
ipv6-to-bin | ||
========= | ||
A small method to convert an ipv6 from hex to binary keeping the format _:_:_:_:_:_:_:_ (8 segments) | ||
## Installation | ||
npm install ipv6-to-bin --save | ||
## Usage | ||
var ipv6ToBin = require('ipv6-to-bin'); | ||
var localhost = ipv6ToBin('0000:0000:0000:0000:0000:0000:0000:0001'); | ||
console.log('routerIp', routerIp); | ||
## Tests | ||
npm test | ||
## Contributing | ||
Add unit tests for any new or changed functionality. Lint and test your code. | ||
## Release History | ||
* 0.1.1 modified readme | ||
* 0.1.0 Initial release |
3719
30