url-router
Advanced tools
Comparing version 7.1.2 to 7.1.3
{ | ||
"name": "url-router", | ||
"version": "7.1.2", | ||
"version": "7.1.3", | ||
"description": "A non-opinionated cross-platform URL routing library.", | ||
@@ -5,0 +5,0 @@ "main": "es5", |
@@ -218,3 +218,2 @@ # url-router | ||
### Router.add() | ||
@@ -242,2 +241,11 @@ ```js | ||
#### Returns | ||
The router instance. So you could use method chaining: | ||
```js | ||
router | ||
.get('/foo', foo) | ||
.get('/bar', bar) | ||
``` | ||
### Router.find() | ||
@@ -244,0 +252,0 @@ ```js |
Sorry, the diff of this file is not supported yet
30638
752
278