Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-url-http

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-url-http - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

lightweight.js

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 2.1.0 (2020-02-05)
* feat: add lightweight version ([d49eea7](https://github.com/Kikobeats/is-url-http/commit/d49eea7))
## <small>2.0.1 (2020-02-05)</small>

@@ -2,0 +8,0 @@

10

package.json

@@ -5,3 +5,4 @@ {

"homepage": "https://nicedoc.io/Kikobeats/is-url-http",
"version": "2.0.1",
"version": "2.1.0",
"browser": "lightweight.js",
"main": "index.js",

@@ -55,3 +56,4 @@ "author": {

"files": [
"index.js"
"index.js",
"lightweight.js"
],

@@ -82,3 +84,5 @@ "scripts": {

]
}
},
"umd:main": "lightweight.js",
"unpkg": "lightweight.js"
}
# is-url-http
![Last version](https://img.shields.io/github/tag/Kikobeats/is-url-http.svg?style=flat-square)

@@ -31,2 +30,13 @@ [![Build Status](https://img.shields.io/travis/Kikobeats/is-url-http/master.svg?style=flat-square)](https://travis-ci.org/Kikobeats/is-url-http)

If you need to run the package in a browser environment, you can save some bytes using the lightweight version:
```js
const isUrlHttp = require('is-url-http/lightweight')
isUrlHttp('https://kikobeats.com') // ==> true
isUrlHttp('https://kikobeats.com') // ==> true
isUrlHttp('mailto://kiko@beats.com') // ==> false
isUrlHttp('callto:192.168.103.77+type=ip') // ==> false
```
## License

@@ -33,0 +43,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc