This package has been deprecated

Author message:

This package is unmaintained, and completely unnecessary

is-this-local

1.0.3 • Public • Published

is-this-local

Build Status NPM version

Predicate for whether the current document location is localhost

Install

$ npm install --save is-this-local

Browser only. Chiefly meant to be used with Browserify.

Usage

// if current page host is a loopback address
 
var isLocal = require('is-this-local');
//=> true
 
 
// is current page host is not a loopback address
 
var isLocal = require('is-this-local');
//=> false

License

MIT © Victor Nascimento Bakke

Readme

Keywords

Package Sidebar

Install

npm i is-this-local

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • gipphe