Domainr has been a fantastic tool for a long time, and this will certainly be handy for those furious coding moments when you need a name and don't want to mess around.
My only enhancement request (for Domainr really, though it could be implemented in the script) is to flag those TLDs which require local citizenship or other hoop-jumping in order to make a purchase.