Skip to content

an fsuipc api to track simulator events via x-track which works on node. 🔗

License

Notifications You must be signed in to change notification settings

foxsys-xyz/fsuipc-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation





foxsys-xyz \ fsuipc-api

an fsuipc api to track simulator events via x-track which works on node. based on @fsuipc/api 🔗

installation

$ yarn add @foxsys-xyz/fsuipc-api

complete example

import { FsuipcApi } from '@fsuipc/api';

const fsuipcApi = new FsuipcApi(Simulator.FSX);

fsuipcApi.init().then(() => {
  fsuipcApi.listen(1000, [
    'gs',
    'altitude',
    'comFreq',
    'lights',
  ]).subscribe((result) => {
    // Use the result here
    console.log(JSON.stringify(result));
  });
}).catch((e) =>
  console.error(e)
);

About

an fsuipc api to track simulator events via x-track which works on node. 🔗

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%