node-netmask icon indicating copy to clipboard operation
node-netmask copied to clipboard

Parse and lookup IP network blocks

Results 10 node-netmask issues
Sort by recently updated
recently updated
newest added

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. Release notes Sourced from github/codeql-action's releases. CodeQL Bundle v2.15.4 Bundles CodeQL CLI v2.15.4 (changelog, release) Includes the following CodeQL language packs from github/codeql@codeql-cli/v2.15.4: codeql/cpp-queries...

dependencies
github_actions

Any thought about IPv6?

enhancement

1. In the latest 2.0.2 there was a rewrite of the IP validation. Effectively, in version 2.0.2 the sanity check that IP components are `< 0xFFFFFFFF` has been removed, because...

Salut @rs Yarn complains that the 1.1.0 version is not available But the changelog does mention this version: https://github.com/rs/node-netmask/blob/master/CHANGELOG.md#v110-mar-18-2021 Is there something I am missing? Thanks for your help

Fixes https://github.com/rs/pushd/issues/123

If input ip addr or netmask is invalid, it will throw error, then I must use nested try / catch to handle that. It makes code complicated. I suggest return...

[README.md states that one of the ways a Netmask can be constructed is with the following parameters](https://github.com/rs/node-netmask/blame/master/README.md#L37): ``` '216.240.32.0', 0xffffff00 ``` The following code, however, causes an Error to be...

This is an awesome module for creating IP ranges from a given netmask, but it'd be even better if it worked in reverse, eg: coffee> n = new netmask.Netmask('10.0.0.0/24') {...

enhancement

Hello, I upgraded from v1.0.6 to 2.00 and I got different results: ``` const localCIDR = new Netmask('10.10'); console.log(localCIDR); ``` With 2.0.0 output is ``` Netmask { bitmask: 32, maskLong:...

Hello! 💁 This PR adds a method to retrieve a subset of IP addresses within a block based on offset. The primary reasoning for me putting this together was that...