express-shared-routes
v0.1.1
Published
> Named routes for the express framework that are shared between the server and the browser.
Downloads
12
Readme
Express Shared Routes
Named routes for the express framework that are shared between the server and the browser
- Naming the urls so you dont hardcode them (DONE)
- Link generation with query parameters (TBD related to 1)
- Storing the matched url route in the request, to use in navigation code (DONE)
- Almost identical way to define the rules as express (DONe)
- Have a hierarchy of routes so you dont have to hardcode the full url (DONE)
- In the future: Ability to override a rule
- Sharing your routes between the server and the client (TBD)
Sharing routes
The Route object works with requireJs, node, and plain browser inclusion (TBD)