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

  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

  5. March 7, 2015
    erekcja said...

    Now, if you are looking for such a brand, you should
    consider the Bourne shoes. It compares the design of vintage motorcycles
    to today’s models. Toe Size: The right shoe will not only fit well but will also be flexible in the toe
    area, with enough space for your feet to relax, without
    being pinched in very tight.

  6. March 10, 2015
    potencja said...

    Most of the girls are choosing the basic sheepskin slip shoes, as they are comfortable and stylish.
    Bourne’s President, Thomas Mc – Claskie, always uses his creative imagery to make trendy
    shoes for men. A new kind of wire mixed with natural fabrics, like cotton,
    provided the perfect adjustment to the body.

  7. March 10, 2015

    I am really loving the theme/design of your web site.

    Do you ever run into any browser compatibility problems?
    A couple of my blog audience have complained about my website not
    working correctly in Explorer but looks
    great in Safari. Do you have any ideas to help fix this problem?

  8. March 16, 2015
    bipap said...

    Thank you a bunch for sharing this with all of us you really realize what
    you are talking about! Bookmarked. Please also talk over with my site
    =). We could have a link trade contract among us

  9. March 25, 2015
    iwatch said...

    magnificent post, very informative. I wonder why the opposite specialists of
    this sector don’t notice this. You must continue your writing.
    I am sure, you have a huge readers’ base already!

  10. April 11, 2015
    kamagra said...

    Many of these new creations are about shape and texture as
    much as color and style. All footwear at Bourne is hand-crafted
    especially by Opanka construction and the use of adhesives and machinery
    is minimal while creating the shoes, thus making the designs eco-friendly.

    Choose not only from the styles of the shoes but also make sure
    that they ate comfortable.

  11. April 11, 2015
    kamagra said...

    The brand of Moda in pelle provides extremely stylish, durable and comfortable shoes.

    The Unitron website includes detailed description of the features
    and benefits from this product. Moccasin UGG
    slippers are quite popular among the men.

  12. May 12, 2015
    zapraszamy said...

    The brand of Moda in pelle provides extremely stylish,
    durable and comfortable shoes. It compares the design of vintage motorcycles
    to today’s models. The cable breaking system is also new
    feature added to the line of three wheel strollers.

Leave a Reply