0.1.0 • Published 12 years ago
hijack v0.1.0
Stub Node.js module
Stub Node.js module.
Installation
npm install hijack
Example
var hijacked = hijack.require('util');
hijacked.replace('log', function(message) {
console.log('I am hijacked [' + message + ']!');
});
util.log('Timestamped message.');
hijack.restore();
0.1.0
12 years ago