api-routes
Advanced tools
Comparing version
@@ -78,3 +78,3 @@ // api.js | ||
var possibles = _.aggjoin(_.initial(name.split('.'))).reverse(); | ||
var possibles = _.aggjoin(_.initial(name.split('.')), '.').reverse(); | ||
@@ -81,0 +81,0 @@ return _.first(_.filter(_.map(possibles, function (poss) { |
{ | ||
"name": "api-routes", | ||
"description": "A declarative system for creating express API routes.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": "Jon Eisen <jon.m.eisen@gmail.com>", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -102,6 +102,6 @@ node-api-routes | ||
Other features include inheritance via adding sub-endpoints using a period in the name, such as 'test.abc' being a child of endpoint 'test'. There is an example to show how to use this. | ||
Other features include inheritance via adding sub-endpoints using a period in the name, such as 'test.abc' being a child of endpoint 'test'. There is an example to show how to use this in the examples. | ||
## License | ||
MIT License found in [LICENSE](https://github.com/yanatan16/node-api-routes/blob/master/LICENSE) file. | ||
MIT License found in [LICENSE](https://github.com/yanatan16/node-api-routes/blob/master/LICENSE) file. |
13659
0.16%107
0.94%