This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Description
something like this:
function requireFromString2(src, filename) {
var Module = module.constructor;
filename = filename || uuid(); // <<<< instead of defaulting to '', default to a uuid
var m = new Module();
m._compile(src, filename);
return m; // return module not module.exports, so the user can get to the filename or whatnot
}