nodeonly-utilv is a npm for dev lib for node express utils
- base64
- json
- url
- prototype
var app = express();
// Make our db accessible to our router
app.use(function(req,res,next){
...
req.tools = require('./utils');
next();
});
app.post('/new', function(req, res) {
var name = req.tools.req.get_value_from_body(req, 'display_name');
...
}
npm test
- https://github.com/visionmedia/mocha
- https://github.com/chaijs/chai
- http://chaijs.com/
- http://visionmedia.github.io/mocha/
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- v0.1.0 初始化版本
- 桑世龙
- 柯织
- 黄小龙
在issue提问或邮件shiren1118@126.com
this gem is released under the MIT License.