Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "ip-cidr", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Module for working with CIDR (v4, v6)", | ||
@@ -5,0 +5,0 @@ "main": "./ip-cidr.js", |
@@ -29,3 +29,3 @@ # Install | ||
cidr.toArray({ asBigInteger: true }); // get array of all ip in CIDR range as big integer; | ||
cidr.toRange() // get array of start and end ip as string [startIpAsString, endIpAsString] | ||
cidr.toRange(); // get array of start and end ip as string [startIpAsString, endIpAsString] | ||
@@ -37,3 +37,3 @@ ``` | ||
returns the "ip-address" module object in the necessary format | ||
options are the same in all of the library functions and may include asBigInteger, asAddressObject or asString (by default) | ||
options are the same in all of the library functions and might include asBigInteger, asAddressObject or asString (by default) | ||
@@ -58,5 +58,4 @@ ### .start([options]) | ||
you can get information by chunks using options.from and options.limit | ||
this options can be integer or big integer("jsbn" instance) | ||
you can send results argument(object) to get all chunk information inside | ||
pagination starts from 0, all results values are instance of "jsbn" | ||
this options might be integer or big integer("jsbn" instance) | ||
you can pass second argument "results" (object) to get all chunk pagination information | ||
@@ -63,0 +62,0 @@ ### .arrayAction(fn, [options], [results]) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9554
65