npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

hosts-lookup

1.2.0

@hemanth

npmHomeRepoSnykSocket
Downloads:1
$ npm install hosts-lookup
DailyWeeklyMonthlyYearly

hosts-lookup Build Status

Lookup your /etc/hosts

Install

$ npm install --save hosts-lookup

Usage

var hostsLookup = require('hosts-lookup');
hostsLookup('crazy-cat')
 .then(console.log) // => ip is value from `hosts` if found.
 .catch(console.error) 

P.S: This module was created as a result of this issue.

License

MIT © Hemanth.HM