noriu

0.1.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i noriu

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • tghs