isstrurl
v1.0.1
Published
A simple package to check if a provided string is a url
Downloads
14
Maintainers
Readme
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!
}