bees
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "bees", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "yawnt <yawn.localhost@gmail.com>", | ||
@@ -11,2 +11,3 @@ "description": "Api documentation generator", | ||
}, | ||
"dependencies": { "optimist": "*" }, | ||
"scripts": { | ||
@@ -13,0 +14,0 @@ "test": "mocha -R spec -r should test/*-test.js" |
@@ -15,50 +15,4 @@ bees (in Italian ```API``` means ```bees```) | ||
__app.js__ | ||
```javascript | ||
var app = require('express').createServer(); | ||
See ```test/file``` | ||
/** | ||
* GET / | ||
* | ||
* @return Main page | ||
*/ | ||
app.get('/', function(req, res){ | ||
res.send('Hello World'); | ||
}); | ||
/** | ||
* GET /:id | ||
* | ||
* @param id id of the user | ||
* @return user infos | ||
*/ | ||
app.get('/:id', function(req, res){ | ||
res.send('Hello World'); | ||
}); | ||
app.listen(3000); | ||
``` | ||
``` | ||
$ bees app.js | ||
[ | ||
{ | ||
"method":"GET", | ||
"path":"/", | ||
"return":"Main page" | ||
}, | ||
{ | ||
"method":"GET", | ||
"path":"/:id", | ||
"params":{ | ||
"id":"id of the user" | ||
}, | ||
"return":"user infos" | ||
} | ||
] | ||
``` | ||
## Plugin: | ||
@@ -65,0 +19,0 @@ |
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
5487
1
2
99
+ Addedoptimist@*
+ Addedminimist@0.0.10(transitive)
+ Addedoptimist@0.6.1(transitive)
+ Addedwordwrap@0.0.3(transitive)