Using node.js code to know if name is regsitered?

I am writing a small DAPP in NodeJS, and I was trying to find a way to see if a name has already been registered.

I don’t see a way to do that. If I try and resolve the name I may get ‘null’ back just because there is no address assigned, but the name is actually registered.

Is there a way to do this?


Can you show me the code snippet you are using with the name you are looking up? It sounds like you are confused with the address resolution (which you can get via var address = await provider.resolveName('alice.eth') and ownership (Registry.owner(node))

I understand it now. Thanks for the help.