npm install hosts-lookup> Lookup your /etc/hosts
```
$ npm install --save hosts-lookup
`jshosts
var hostsLookup = require('hosts-lookup');
hostsLookup('crazy-cat')
.then(console.log) // => ip is value from if found.``
.catch(console.error)
P.S: This module was created as a result of this issue.
MIT © Hemanth.HM