bare-dns
v1.0.5
Published
Domain name resolution for JavaScript
Downloads
4,326
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