You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I needed a function that can convert a range of IPs (192.168.0.1-192.168.0.33) into a list of CIDR formats (192.168.0.1/32, 192.168.0.2/31, 192.168.0.4/30, 192.168.0.8/29, 192.168.0.16/28, 192.168.0.32/31).
I couldn't find a JS library to do it anywhere (I may have been bad at looking) so I made one myself.
If you like, I can try make a PR and add it into this library or I could post my code here and let you handle it?
The text was updated successfully, but these errors were encountered:
Hello I needed a function that can convert a range of IPs (192.168.0.1-192.168.0.33) into a list of CIDR formats (192.168.0.1/32, 192.168.0.2/31, 192.168.0.4/30, 192.168.0.8/29, 192.168.0.16/28, 192.168.0.32/31).
I couldn't find a JS library to do it anywhere (I may have been bad at looking) so I made one myself.
If you like, I can try make a PR and add it into this library or I could post my code here and let you handle it?
The text was updated successfully, but these errors were encountered: