Node.js web framework in 50 lines of code
2 points
12 years ago
Yama (https://github.com/smcmurray/yama) is a web framework built for Node's http server. It relies on middleware to do most of the interesting work, but even without middleware it provides a convenient wrapper for building RESTful Node web apps. Writing middleware is as simple as providing a node http request event handler.

Can 50 lines of javascript attract enough middleware to be interesting?