This repository contains code samples from http://browserstack.com/automate/node. Please feel free to clone the repo and use the example code.
Do remember to switch the USERNAME and ACCESS_KEY with your own browserstack credentials.
For other nodejs frameworks, refer to their individual repositories -