ipv4-tools

1.0.2 • Public • Published

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.


Package Sidebar

Install

npm i ipv4-tools

Weekly Downloads

27

Version

1.0.2

License

MIT

Last publish

Collaborators

  • undertuga