Detalhes do pacote

is-localhost

jwerle686MIT0.0.2

Is localhost predicate

test, is, localhost

readme (leia-me)

is-localhost

Determine if a host is a localhost

install

$ npm install is-localhost

usage

var isLocal = require('is-localhost')

isLocal('127.0.0.1'); // true
isLocal('12.34.56.78'); // false
isLocal('::1'); // true

license

MIT