Node.js的高性能封装 Express.js

jopen 12年前

Express.js 是对 Node.js 的一个高性能的封装,

特性

  • Robust routing
  • Redirection helpers
  • Dynamic view helpers
  • Application level view options
  • Content negotiation
  • Application mounting
  • Focus on high performance
  • View rendering and partials support
  • Environment based configuration
  • Session based flash notifications
  • Built on Connect
  • Executable for generating applications quickly
  • High test coverage

示例代码:
require('express')    get('/', function(){    this.contentType('html')    return '' }) run()

项目主页:http://www.open-open.com/lib/view/home/1338390401167