msfs-nodejs 0.4.0
Install from the command line:
Learn more about npm packages
$ npm install @flybywiresim/msfs-nodejs@0.4.0
Install via package.json:
"@flybywiresim/msfs-nodejs": "0.4.0"
About this version
The Node.JS wrapper around the MSFS SDK. The library supports both JavaScript and TypeScript.
Install the client library using npm:
$ npm install --save @flybywiresim/msfs-nodejs
Install node-gyp on the system and follow the the installation instructions.
Start the build process by npm run build:all
.
If the binding-compilation fails due to v8.h include errors is it required to delete the local cache of node-gyp.
node-gyp cache: %LocalAppData%/node-gyp/Cache
Thereafter execute node-gyp configure
and the problem should be solved.
Some manual steps are required to release the package. These steps are required to avoid the creation a Windows-VM on Github.
- Build the bindings with Visual Studio on your local machine
- Call
npm run build:rollup
- Commit and push the new generated *.node-bindings
- Create a new tag on github and publish the release
This software is licensed under the MIT license.
Details
- msfs-nodejs
- flybywiresim
- about 1 year ago
- MIT
- 16 dependencies
Assets
- msfs-nodejs-0.4.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0