Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ip-cidr

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip-cidr - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "ip-cidr",
"version": "0.0.1",
"version": "0.0.2",
"description": "Module for work with CIDR (v4, v6)",

@@ -5,0 +5,0 @@ "main": "./ip-cidr.js",

@@ -35,3 +35,3 @@ # Install

### .formatIP(address, options)
returns the "ip-address" module object ip address in the specified in options format
returns the "ip-address" module object ip address in the specified in options format
options are the same in all of the library functions and may include asBigInteger, asAddressObject or asString if options are empty

@@ -55,4 +55,4 @@

### .toArray(options) {
get array of all ip in CIDR range
you can set maximum of array elements with options.limit
get array of all ip in CIDR range
you can set maximum of array elements with options.limit
if the limit is reached, you will receive additional information in options.limitResult

@@ -59,0 +59,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc