Skip to content

maxwellium/b-c-routeparams-from-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published