path-to-regexp-es6
v1.7.0
Published
Exports path-to-regexp as an es6 module
Downloads
1,461
Maintainers
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