bare-dns
v1.0.2
Published
Domain name resolution for JavaScript
Downloads
2,596
Readme
bare-dns
Domain name resolution for JavaScript.
npm i bare-dns
Usage
const dns = require('bare-dns')
dns.lookup('github.com', (err, address, family) => {
console.log(address, family)
})
License
Apache-2.0