npm install path-to-regexpyarn add path-to-regexppnpm add path-to-regexp<script src="https://fastly.jsdelivr.net/npm/path-to-regexp"></script><script src="https://unpkg.com/path-to-regexp"></script><script type="module">
import pathtoregexp from 'https://cdn.jsdelivr.net/npm/path-to-regexp/+esm';
</script><script type="module">
import pathtoregexp from 'https://cdn.skypack.dev/path-to-regexp';
</script>