Is there dns.lookup equivalent in Meteor available?

In node.js there is dns.lookup method -

Is there any equivalent in Meteor? If not, how can I use that method in my app?

const dns = Npm.require('dns');

// dns.lookup
// dns.resolve

Or just

import dns from 'dns'

In the end, Meteor === Node

Anyway the question was from 2016 :stuck_out_tongue:

Well, thanks! Embarrassingly enough, only now I know that plain imports actually work. I think they didn’t in previous versions. Or did they?..

I saw it’s an old entry, but if it comes up in google results, I figured it should have an answer :wink:

regular npm import has worked since Meteor 1.3 ( 2016-03-27)