requirefresh

Require a file without adding it into the require cache

Require Fresh

Require a file without adding it into the require cache

  1. Install Node.js
  2. npm install --save requirefresh
// Via call and return with no error handling 
var result = require('requirefresh').requireFresh('my-module-path')
 
// Via callback uses domains for errors (with try/catch for node 0.8 support) 
var resultOrError = require('requireFresh').requireFreshSafe('my-module-path', function(err,result){
    
});

You can discover the history inside the History.md file

Licensed under the incredibly permissive MIT License
Copyright © 2013+ Bevry Pty Ltd
Copyright © 2011-2012 Benjamin Arthur Lupton