0.1.0 • Published 10 years ago

noriu v0.1.0

Weekly downloads
8
License
MIT
Repository
github
Last release
10 years ago

noriu

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().

Usage

var noriu = require('noriu')

function callback() {
	var http = noriu('http')
	var plugin = noriu('./plugin')
}

Installation

$ npm install noriu

Development

$ npm install -g nodeunit
$ ./test.sh