8000 GitHub - hareku/http-url-regex: A lightweight HTTP URL regular expressions library for JavaScript (JS).
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

hareku/http-url-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-url-regex

A lightweight regular expression library for HTTP URLs.

  • Support TypeScript
  • Support ES5
  • Less than 400 Bytes (not compressed)

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

About

A lightweight HTTP URL regular expressions library for JavaScript (JS).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0