hxnodejs-ipaddr 1.1.0

Externs for the ipaddr.js NPM module

Released 2016-02-28.

To install, run:

haxelib install hxnodejs-ipaddr 1.1.0

See using Haxelib in Haxelib documentation for more information.

Maintainerwaneck
Websitehttps://github.com/proletariatgames/hxnodejs-ipaddr
Current version1.1.0
StatisticsInstalled 231 times
LicenseMIT
Tags hxnodejs, ipaddr, nodejs

README.md

Haxe/hxnodejs externs for the ipaddr.js npm library

Tested using ipaddr.js version 1.1.0

Example:

import js.npm.Ipaddr;

var addr = Ipaddr.parse('2001:db8:1234::1');
var range = Ipaddr.parse("2001:db8::");

addr.match(range, 32); // => true