@brillout/path-to-regexp

Vanilla copy of React Router's path-to-regexp mod

Usage no npm install needed!

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

README

This is a copy of React Router's modified version of path-to-regexp.

This package is about:

  • Having the same modifications than React Router's modified version of path-to-regexp.
  • Having only the package path-to-regexp as dependency.

Upstream source code: