- Notifications
You must be signed in to change notification settings - Fork7
A tiny node.js http framework
License
NotificationsYou must be signed in to change notification settings
segmentfault/node-tiny-http
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
目前node.js上的http框架已经很多,大名鼎鼎的express和koa都有大量的用户。但是我在使用后发现在很多项目中,它们在某些方面显得过于繁琐,而有些需要重度使用的地方又处理得太过简陋。因此我们结合自己的项目经验开发了这款web框架。目的是打造一款便于使用的,API友好的,可以高度自定义的框架。
我们会及时发布到npm上,你只需要在项目中
npm install node-tiny-http通常我们用一个最简单的例子来展示框架的基本运行情况
varHttp=require('node-tiny-http'),http=newHttp;http.get('/',function(done){returndone('content','Hello World!');});http.listen({host :'localhost',port :9999});
打开浏览器并访问http://localhost:9999/即可看到效果。
About
A tiny node.js http framework
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.