path-to-regexp-es6

v1.7.0
Exports path-to-regexp as an es6 module
express regexp route routing

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

npm i path-to-regexp-es6

Metadata

  • MIT
  • Whatever
  • Ryan Megidov
  • released 9/15/2017

Downloads

Maintainers