express-phantom
express-phantom middleware tests user agent against known browsers using useragent npm module. If no browser detected it renders the page using phantomjs.
-
Install phantomjs
On mac:
brew install phantomjsOn Ubuntu:
sudo apt-get install phantomjs
2. Add express-phantom middleware
```javascript
var expressPhantom = require("express-phantom");
app.use(expressPhantom.SEORender);
```
3. Enjoy