This is a tool to find calls at javascript code.
npm install -g jscode-find-callee
The following example will search for all console
calls at the fixtures/console_log_2.js
sourcecode.
jscode-find-callee fixtures/console_log_2.js
If you want to search for an other callee instead of console
you can use the --name
flag.
jscode-find-callee --name logger fixtures/console_log_2.js
It is also possible to search an entire directory.
jscode-find-callee --name console fixtures