This extension enables Developers to run ES5 JavaScript functions Independently Inside of a single JavaScript file.
How It Works
The extension beings working if the the current file on the vsCode editor ends in ".exec-js.js". It reveals a "Run <function_name>" clickable button above every ES5 function. Clicking the button executes all of the code inside of the JavaScript file with Node, and Invokes the ES5 function. Doing so will also open a side-panel displaying any terminal messages in real-time as well as providing statuses and metrics.
Getting Started
Create a JavaScript file ending in .exec-js.js
Define a function using ES5 syntax - function func_name() {}
Click on the Run <function_name> button
Troubleshooting
If the CodeLens button doesn't appear, try the following...
Check to make sure the filename ends with .exec-js.js