A wrapper for Node.js' require() with cache invalidation.
The Node.js runtime caches modules as you require() them. This is not always desirable. By using noriu() instead, if the module has changed since it was last loaded, you'll get the new module rather than an old cached copy that you'd get from require().
var noriu = require('noriu')
function callback() {
var http = noriu('http')
var plugin = noriu('./plugin')
}
$ npm install noriu
$ npm install -g nodeunit
$ ./test.sh