JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2387079
  • Score
    100M100P100Q213977F
  • License MIT

Check if a string is an URL

Package Exports

  • is-url-superb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-url-superb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-url-superb Build Status

Check if a string is an URL

Created because the is-url module is too loose. This module depends on a much more comprehensive regex.

Install

$ npm install --save is-url-superb

Usage

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

isUrl('http://todomvc.com');
//=> true

isUrl('todomvc.com');
//=> true

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

License

MIT © Sindre Sorhus