I was just looking for something like this.
How do I load external node modules into the repl? I tried "File->Add module path" but it didn't seem to work for me. Basically, having done an npm install of lodash somewhere, I want to do
var _ = require('lodash');
in the repl.