path-to-regexp-es6

Exports path-to-regexp as an es6 module

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
path-to-regexp-es6
001.7.07 years ago7 years agoMinified + gzip package size for path-to-regexp-es6 in KB

Readme

Path-to-RegExp
Turn an Express-style path string such as /user/:name into a regular expression.
This is a wrapper for path-to-regexp 1.7.0 so that it can be used with es6 modules and typescript.

Installation

``` npm install path-to-regexp-es --save ```

Usage

See https://github.com/pillarjs/path-to-regexp