isstrurl

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i isstrurl

Weekly Downloads

2

Version

1.0.1

License

CC BY-ND 4.0

Unpacked Size

14.5 kB

Total Files

4

Last publish

Collaborators

  • wumpusdev