1.0.0 • Published 3 years ago
@alu0101448251/espree-logging v1.0.0
Functions
transpile(inputFile, outputFile)
Transpile the input file and write the output to the output file.
Kind: global function
| Param | Type |
|---|---|
| inputFile | string |
| outputFile | string |
addLogging(code) ⇒ string
Add logging to the input code.
Kind: global function
Returns: string - The code with logging added.
| Param | Type |
|---|---|
| code | string |
addBeforeCode(node) ⇒ object
Add code to the beginning of a function.
Kind: global function
Returns: object - The node with code added.
| Param | Type | Description |
|---|---|---|
| node | object | The function node. |