Skip to content

bradjc/jsIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jsIP

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

With node.js

jsIP = require('jsIP');

ip = jsIP('192.168.1.1');

ip.str();

With a Browser

<script src="jsIP-x.x.x.js"></script>
<script>
	var jsIP = require('./jsIP');

	jsIP('7654::6712:98:1').str();

API

str()
fullStr()
pureStr()
hex()


About

IP address parser and whatnot for javascript

Resources

Stars

Watchers

Forks

Packages

No packages published