- From: Jimmy Karl Roland Wärting <notifications@github.com>
- Date: Tue, 03 Jan 2017 04:30:32 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 3 January 2017 12:32:08 UTC
It's not very clear to me either what a good API would look like. Wasn't a big fan of wrapping things either like the URI template
```js
"/date/{color}/{shape}/"
"/date/:color/:shape/" 
```
Would rather prefer the second option since i have been using Express.js a lot and i think it's also more readable. 
fyi, i just went ahead and included the [sw-toolbox](https://github.com/GoogleChrome/sw-toolbox) that had route parsing included and are based on [path-to-regexp](https://github.com/pillarjs/path-to-regexp)
-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/192#issuecomment-270104510
Received on Tuesday, 3 January 2017 12:32:08 UTC