npm.io
1.0.1 • Published 6 years ago

isstrurl

Licence
CC BY-ND 4.0
Version
1.0.1
Deps
0
Size
14 kB
Vulns
0
Weekly
0

A simple URL Checker

Example

const isStrUrl = require('issstrurl');
var res = isStrUrl("https://google.com");
if (res == true) {
  console.log("That is a URL!") // Execute code if it is a URL!
} else if (res == false) {
  console.log("That isn't a URL!") // Execute code if it isn't a URL!
}

If you like this package or have issues, consider joining our Discord Server

WumpusDev 2020

Keywords