News for hackers. Stuff that matters.
Re:Mancy: JavaScript REPL by msluyter on Friday October 30, 2015 @11:04AM (#10478237)
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.
Re:Mancy: JavaScript REPL by princejwesley on Friday October 30, 2015 @11:47AM (#10478511)
This feature is available in version 2. Target release : Nov 2. https://github.com/princejwesley/Mancy/wiki/Features-&-Roadm...
Re:Mancy: JavaScript REPL by jimmyhmiller on Friday October 30, 2015 @01:41PM (#10479265)
I did the same thing and pointed to a node_modules folder on a project I had. Worked fine for me.
Re:Mancy: JavaScript REPL by ad1ttya on Friday October 30, 2015 @11:53AM (#10478547)
You install lodash globally, and can then use the above line to use the module inside repl..