New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

api-routes

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-routes - npm Package Compare versions

Comparing version

to
0.1.3

2

lib/index.js

@@ -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.