Use a node module from casperjs
问题 Is it possible to install a node module, installed via npm, and then require it from a casperjs script? (I see lots of posts and tools for running casper or phantom from inside node.js, but that is not what I\'m trying to do.) The casperjs docs seem to say it is possible, but only show with hand-written toy modules that don\'t really do anything. The real-world module I\'m trying to install is imap , but at this point I cannot get any module to work, even built-in ones like net . Simple