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

  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.

  13. September 10, 2015
    minecraft games said...

    This design is incredible! You certainly know how to keep a reader entertained.

    Between your wit and your videos, I was almost moved to start my own blog (well,
    almost…HaHa!) Wonderful job. I really enjoyed what you had to say, and more than that,
    how you presented it. Too cool!

  14. September 14, 2015
    minecraft.exe said...

    Just desire to say your article is as astounding. The
    clearness for your put up is just nice and i can assume you’re an expert on this
    subject. Well with your permission let me to grasp your
    RSS feed to keep up to date with coming near near post. Thanks one million and please carry on the enjoyable work.

  15. September 14, 2015

    Hi there to every one, the contents present at this website are in fact awesome for people experience,
    well, keep up the good work fellows.

  16. September 18, 2015

    Unquestionably believe that which you said. Your favorite reason appeared to be on the internet the easiest thing to be aware of.
    I say to you, I definitely get irked while people think about worries
    that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing
    without having side-effects , people could take a signal.

    Will likely be back to get more. Thanks

  17. September 18, 2015

    I think the admin of this web page is really working hard in support of
    his web site, for the reason that here every stuff is quality based material.

  18. September 21, 2015

    If the leather is is actually ripped or torn, you might feel like it should just be thrown out while using garbage. However, aided by the worth of leather, especially good, high-quality leather, you can’t easily switch the furniture. Filter systems repair it? Today, you will find of ‘fix-it’ solutions for nearly any anything and this includes leather. Consider local fabric stores or look online for your liquid leather repair kit. The kits are fairly inexpensive and you’ll get them to check practically any shade of leather. For an extremely small price, you are able to repair that knick or scratch in your leather and possess it looking as good as new. Why eliminate a superb leather armchair, particularly when you are able to fix it?
    trjeansoutlet.us http://www.trjeansoutlet.us/

  19. September 22, 2015
    Dustin Dedios said...

    This site is very mundane, just what i am looking for to look over on my short break. Thanks

  20. September 22, 2015

    I’ll immediately take hold of your rss as I can’t to
    find your email subscription link or e-newsletter service.

    Do you have any? Please allow me know in order that I could subscribe.

  21. September 23, 2015

    It’s in reality a great and helpful piece of info. I’m satisfied that you simply shared this helpful information with
    us. Please keep us up to date like this. Thank you for sharing.

Leave a Reply