@alu0100901214/espree-logging-module

0.0.0

addLogging

Add console.log in every Function.

addLogging(code: string): string
Parameters
code (string) String with the code.
Returns
string: Return the string with the console.log inserted.

addBeforeCode

Add logs to an AST node.

addBeforeCode(node: object)
Parameters
node (object) An AST node with the function, the console.log will be added inside.