Node.js library for Cymru's IP-to-ASN
npm
Regular expression for matching AS numbers
Check if a string is an ASN
Combine TXT chunks returned by dnsPromises.resolveTxt