js-ip

Javascript IP address parser and manipulator.

jsIP

A class for parsing and formatting IPv4 and IPv6 addresses in javascript.

jsIP = require('jsIP');
 
ip = jsIP('192.168.1.1');
 
ip.str();
<script src="jsIP-x.x.x.js"></script>
<script>
    var jsIP = require('./jsIP');
 
    jsIP('7654::6712:98:1').str();
str()
fullStr()
pureStr()
hex()