ipv4-tools
v1.0.2
Published
IPv4 utility functions toolkit, developed for use on Node.JS / IO.JS network related projects.
Downloads
28
Maintainers
Readme
#ipv4-tools
####IPv4 utility toolkit, developed for use on Node.JS / IO.JS network related projects. ####(NPM package)
######v0.2.0 available prototypes:
generateIPv4(class, callback)
Generates random IPv4 according to desired class (A to E | R for random class).
validateIPv4(ipv4, callback)
Validate given IPv4 address.
getNetworkClass(ipv4, callback)
Checks for IPv4 network class.
getNetworkData(ipv4, callback)
Get IPv4 network related data.
getDnsData(ipv4, callback)
Collect IPv4 DNS related data.
ipv4ToInteger(ipv4, callback)
Converts given Ipv4 address to the correspondent integer value.
integerToIPv4(number, callback)
Converts given integer value to correspondent IPv4 address.