Node.js 开发框架 Web.js
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://iwillwen.github.io/webjs/
- 软件文档: http://iwillwen.github.io/webjs/
软件介绍
webjs 是基于 Node.js 的开发框架,可以大大简化了 Web 应用服务器端的代码编写。
示例代码:
var web = require('webjs');
//Use the web controller
web.run()
.use(web.static(__dirname));
//Create a app like connect
var app = web.create()
//default create a http server.
//you can set the first argument like 'https' or 'net'.
.use(web.static(__dirname))
.listen(8080);
