is-http

0.0.2 • Public • Published

is-http

returns whether or not a url speaks http(s)

example

var isHttp = require('is-http')
isHttp('http://cookie.com') // true
isHttp('https://yahoo.com') // true
isHttp('blah://google.com') // false

Readme

Keywords

Package Sidebar

Install

npm i is-http

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ghostsnstuff