1.0.1 • Published 5 years ago

@b-c/routeparams-from-url v1.0.1

Weekly downloads
22
License
MIT
Repository
github
Last release
5 years ago

routeparams from url

Takes a route definition of the form /abc/:a/:b/:c and an actual url e.g. /abc/1/2/test and returns an object mapping {a: 1, b: 2, c: "test"}.

Relies on es2018 RegExp named capture groups.

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago