*** CURRENTLY IN DEVELOPMENT ***
Microsoft Flight Simulator 2020 SimConnect SDK wrapper for NodeJS.
Works on 64 bit version of NodeJS. Currently, for Windows only.
msfs-simconnect-nodejs uses a native NodeJS addon and therefore, it must be compiled first before you can use it as module within your project.
1.) Install the Node module
npm install msfs-simconnect-node
2.) Copy your SimConnect SDK files
You need to copy your own SimConnect SDK files to msfs-simconnect-nodejs. 64 bit version is also supported.
Default, the SimConnect SDK installed in C:\MSFS SDK\SimConnect SDK. Copy this SimConnect SDK directory and paste it in the root of msfs-simconnect-nodejs.
Compile the library:
npm run build
Once compiled, at the moment you need to copy your SimConnect.dll file from the SimConnect SDK directory into the build/Release directory. You need to this everytime you've done a rebuild.
Import the module:
const simConnect = require('msfs-simconnect-nodejs');
- NodeJS 64 bit
- Microsoft Visual Studio 2019 (Community)
- Python 3 (for compilation)
- SimConnect SDK
Inspired by https://github.com/EvenAR/node-simconnect