This package has been deprecated

Author message:

This package has been rename to `localhost-url-regex`

is-localhost-url

1.0.3 • Public • Published

is-localhost-url

Check if a URL is from localhost

Install

$ npm install is-localhost-url --save

Usage

const isLocalhostUrl = require('is-localhost-url')
 
isLocalhostUrl('http://localhost:3000') // true
isLocalhostUrl('http://example.com') // false

License

is-localhost-url © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats

Package Sidebar

Install

npm i is-localhost-url

Weekly Downloads

170

Version

1.0.3

License

MIT

Unpacked Size

6.75 kB

Total Files

9

Last publish

Collaborators

  • kikobeats