http-url-regex
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

http-url-regex

A lightweight regular expression library for HTTP URLs.

  • Support TypeScript
  • Support ES5
  • Less than 300 Bytes

Installation

yarn add http-url-regex

Usage

You can use these regular expressions.

  • url (scheme + domain + path)
  • url_no_scheme (domain + path)
  • scheme
  • domain
  • path

See the spec for details: index.test.js

/http-url-regex/

    Package Sidebar

    Install

    npm i http-url-regex

    Weekly Downloads

    14

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    5.85 kB

    Total Files

    6

    Last publish

    Collaborators

    • hareku