Open
Description
Hi,
I am trying to hook a function in node module, but I got error as mentioned in the title, below is my code:
var hook = require('node-hook');
function Request(method, url) {
alert(url);
}
hook.hook('.js', Request);
require('./node_modules/module_name/index');
Is it possible on the way I am trying to archive?
Metadata
Metadata
Assignees
Labels
No labels