express-phantom ===============

npm install express-phantom
13 downloads in the last week
52 downloads in the last month


express-phantom middleware tests user agent against known browsers using useragent npm module. If no browser detected it renders the page using phantomjs.

  1. Install phantomjs

    On mac:

     brew install phantomjs

    On Ubuntu:

     sudo apt-get install phantomjs
  2. Add express-phantom middleware

     var expressPhantom = require("express-phantom");
  3. Enjoy

npm loves you