nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.31k stars 159 forks source link

Disable Color Output #23

Closed NikolaiT closed 2 years ago

NikolaiT commented 2 years ago

Please give us an option to disable color output and to get output as JSON. nobody wants those pesky colors in their terminal, those are for kiddos ;)

thanks for the awesome tool!

NikolaiT commented 2 years ago

Fixed the script: ./asn -n 1.2.3.4 | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'

nitefood commented 2 years ago

Sorry it took so long, but JSON mode (oh, and monochrome output too) is now up. thanks a lot for the awesome API :-)