News for hackers. Stuff that matters.
Re:Better SQL strings in io.js by qooleot on Tuesday February 10, 2015 @02:52PM (#9029451)
You can actually load libraries in plv8. Its cumbersome, and not a simple:

var _ = require('lodash');

but it works. Part of the reason is plv8 is a trusted language, meaning it cannot read code from the file system. Basically, the libraries are loaded as text into a table, and then evaluated by v8 using the library loader. Someone could make a gulp task to make that a quick command line tool if they did it often enough....

There are no comments on this comment yet.