12 unstable releases (4 breaking)
0.5.0 | Jan 14, 2024 |
---|---|
0.4.2 | Jan 12, 2024 |
0.3.0 | Feb 17, 2022 |
0.2.0 | Jan 14, 2022 |
0.1.3 | Jan 3, 2021 |
#1214 in Command line utilities
170 downloads per month
5KB
85 lines
ip2d
A converter for IPv4 addresses.
Usage
A converter for IPv4 Addresses
Usage: ip2d [OPTIONS] [ip]
Arguments:
[ip] Converts an IPv4 Address to an integer
Options:
-r, --reverse <number> Converts an integer to an IPv4 Address
-x, --hex Converts an IPv4 Address to a hex number
-h, --help Print help
-V, --version Print version
Examples
> ip2d 127.0.0.1
2130706433
> ip2d -r 230451
0.3.132.51
> ip2d -x 127.0.2.2
0x7f000202
Dependencies
~1MB
~16K SLoC