Integrating C++ with JavaScript Analyzer Tool in a UE4 game

I am rebuilding a basic game programmed in C++ from UE3 to UE4. The old UE3 game used a separate JavaScript tool to analyze the results of the game and export data to an Excel spreadsheet. As a noob to Unreal and beginner programmer, I am looking for recommendations on how to integrate the JavaScript tool with UE4. Is the best way to use Microsoft Visual Studio and Install C++ Support, as this documentation suggests: Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.2 Documentation. Or do I use the Unreal Editor for C++ and use the unreal.js plugin?