1.1.8 • Published 10 years ago

rwin v1.1.8

Weekly downloads
44
License
-
Repository
github
Last release
10 years ago

rwin

Node.js module loader that loads the required module when you need it.

This Node.js module is under MIT License.

Install :

$ npm install rwin

Concept :

Because some of the required modules are sometimes loaded and uses your memory for nothing...

rwin (Require When I Need), is a lightweight tool that loads the required module only when and if you need it!

Usage :

var rwin, lib;

rwin = require('rwin');

lib = rwin(__dirname, {
  installedModule: 'installed-module',
  uninstalledModule: '/uninstalled-module/path'
});

// At this point, rwin is the only one loaded module (and its own dependencies)

console.log(lib.installedModule); // loads the module & returns it to the console
1.1.8

10 years ago

1.1.7

10 years ago

1.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago