Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function to generate a range of IPv4 or IPv6 IP addresses in an array #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RogerHardiman
Copy link

This is a re-write of my Pull Request from April 2016
It returns an Array of all the IP addresses between a start and end IP address
Since the April 2016 PR I've made the following changes
a) Fix npm test typo that prevented the CI working
b) Fix linting issues, use let instead of var
c) Add IPv6 support to range function
d) Add npm test for IPv6 support

I use this function in another Open Source project so would be nice to merge it upstream

@RogerHardiman
Copy link
Author

This replaces #55 which supported IPv4 and had a typo in the npm test that prevented the CI working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant