url-glob

Javascript library for url globing. Easier than regex string matching patterns for urls.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
url-glob
401.0.36 years ago6 years agoMinified + gzip package size for url-glob in KB

Readme

url-glob
Javascript library for url globing. Easier than regex string matching patterns for urls.
Build Status

Installation

``````````` npm install url-glob ```````````

How to use :

```````````````javascript var UrlGlob = require('url-glob'); var urlGlob = new UrlGlob(''); urlGlob.match('http://google.com.eg'); // take a url and returns true or false ```````````````

Matching symbols :

  1. '' : maching zero or more characters
  2. '' : matching zero or more url part (e.g /example/)