@reframe/path-to-regexp

Routing with path-to-regexp.

Usage no npm install needed!

<script type="module">
  import reframePathToRegexp from 'https://cdn.skypack.dev/@reframe/path-to-regexp';
</script>

README

@reframe/path-to-regexp

Routing with path-to-regexp.

Note that @reframe/path-to-regexp doesn't use the npm module path-to-regexp directly, but uses React Router's wrapper react-router/matchPath.

Usage

// reframe.config.js

module.exports = {
    $plugins: [
        require('@reframe/path-to-regexp') // npm install @reframe/path-to-regexp
    ]
};