Skip to content

Turn a path string such as `/user/:name` into a regular expression

License

Notifications You must be signed in to change notification settings

alloc/path-to-regexp

 
 

Repository files navigation

@alloc/path-to-regexp

This is a fork of path-to-regexp with a few changes:

  • Removed CommonJS support
  • Targets ES2020 instead of ES2015
  • Added type: "module" to the package.json
  • Has its exports field set up correctly
  • Updated the build process to use tsup

About

Turn a path string such as `/user/:name` into a regular expression

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%