Looking for a way to pass default options, applied to all require invocations (unless overridden by per-invocation options). So, I'd like to do things like this:
require = require('really-need')({... some default options...})
and then later on, in any given module:
var mymodule = require("mymodule")
where since I haven't supplied an options object, the defaults specified when I required really-need would be used.
Looking for a way to pass default options, applied to all require invocations (unless overridden by per-invocation options). So, I'd like to do things like this:
require = require('really-need')({... some default options...})
and then later on, in any given module:
var mymodule = require("mymodule")
where since I haven't supplied an options object, the defaults specified when I required really-need would be used.
great project btw, very innovative.