I would like to call the nodejs require function on a node module installed as a bower dependency (found in bower.json and not installed with npm).
bower.json:
...
"dependencies": {
"casperjs": "git@github.com:n1k0/casperjs.git",
actual code snippet I want to use:
var casper = require('casperjs').create();
Is it possible ? I tried to call also (targeting the node module from the bower component directory):
var casper = require('../casperjs').create();