October 15, 2010

monomi: mobile middleware for node.js

monomi is node.js middleware that provides tools for handling mobile (and other types of) browsers.

It relies on the excellent Connect layer, and is easy to install with npm.

Currently, monomi analyzes incoming HTTP requests to detect which type of browser they come from. Default values are ‘desktop’, ‘tablet’, ‘touch’, and ‘mobile’ (meaning non-touch), and the type is put into the request.monomi.browserType property.

The order of preference for the detection, as well as the algorithms used, can all be optionally overridden when the middleware is instantiated.

It’s early days for the project… I have plans to allow the middleware to adapt the outgoing content to be appropriate for the detected device – although this needs to be sensitive to the asynchronous philosophy of node.js

Try it, fork it, experiment, have fun.

Comments (3)

  1. March 2, 2014
    LRcku111 said...

    99n2 Oculos Ray Ban
    9j1 5r2 2w0 f381p

  2. April 16, 2014

    Choose frames that suit your face and add to your personality rather than blindly following trends. However if you wish to accentuate a particular feature like a sweet and delicate face then you could go in for a much larger frame that draws attention. Usually, frames that at contrast with the shape of the face are selected.
    Gafas de sol Oakley http://www.febe.es/es.asp

  3. April 29, 2014

    アウトレット専門店  http://celine.localseotailor.com/

Leave a Reply