redeem
redeem
overloads your require
function with a fallback to global lookup for use in mixed environments.
npm install redeem --save
Example
require
function
overload the existing
imagine a global
windowfoo = 'bar'
then require elsewhere
module { var foo = console}