jpaths / is-url-superb

Check if a string is a URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is-url-superb

Check if a string is a URL

Install

$ npm install is-url-superb

Usage

const isUrl = require('is-url-superb');

isUrl('https://sindresorhus.com');
//=> true

isUrl('unicorn');
//=> false

Related

  • is - Type check values

About

Check if a string is a URL

License:MIT License


Languages

Language:JavaScript 82.7%Language:TypeScript 17.3%