Node bindings to the FSUIPC WASM interface for Windows x64.
To use this package, you must be using Microsoft Flight Simulator and the FSUIPC WASM module must be installed.
npm install --save fsuipc-wasm
Or
yarn add fsuipc-wasm
const fsuipcWasm = require('fsuipc-wasm');
const obj = new fsuipcWasm.FSUIPCWASM();
await obj.start();
console.log(obj.lvarValues);
obj.flagLvarForUpdate("A32NX_IS_STATIONARY");
obj.setLvarUpdateCallback((newLvars) => {
console.log(newLvars);
});