1.7.0 • Published 7 years ago

path-to-regexp-es6 v1.7.0

Weekly downloads
573
License
MIT
Repository
github
Last release
7 years ago

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