I have no idea about the node library you’re using but I’m looking at the JSON response for the artist I’m currently listening to and the twitter url is under the social networking type but it’s no good as it would return results for facebook, instagram etc. I think you’ll have to use filter and startsWith("https://twitter.com")
How exactly this translates to the node API you have to lookup in their documentation, but probably it is just passing ['url-rels'] as the second parameter. The possible values for inc are documented at https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2