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 (4)

  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/

  4. September 15, 2014
    pinterest said...

    I regularly post 400×400 square images and 843×403 rectangular
    images as part of promotions on Facebook and use links to drive the viewers to contests, special
    deals, etc. Google+ is a social networking site that has a range of different features
    that you can use to connect with patients and other healthcare
    professionals. The more powerful the image, the more interest you will provoke in visitors to
    your profile which in turn will result in your profile attracting more followers.

    Feel free to surf to my web-site pinterest

Leave a Reply