Hi,

I'd like to announce the availability of middler, a project I started last 
summer.

https://github.com/carlos8f/node-middler

Basically, you might think of it as a "mini express" which allows you to 
easily attach a middleware stack to an http server, with a chainable 
routing interface and parameter parsing. What makes it unique is that your 
middleware stack can be turned into a "super" middleware handler, to add to 
another middleware stack -- this is the "embeddable" concept.

In keeping with separation of concerns, I wanted middler to **not** come 
with batteries included - it doesn't want to create a server for you, or 
handle configuration, or provide you with a bunch of starter middleware. 
This makes it a great choice for writing compact modules which simply use 
middler's API and export a middleware handler. It also performs well as a 
leaner express if you decide to build an app around it. And of course, it's 
compatible with existing connect/express/flatiron middleware, especially 
using the "expres" shim: https://github.com/cpsubrian/node-expres

Other nice things:

- used in production ~5 months, with great results
- tested on travis-ci
- very fast - benchmarks included
- no dependencies
- middleware stack can be manipulated at runtime
- supports weights, to control the order of handler execution

Feedback welcome!

Cheers,
Carlos

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to