# fsuipc

> Node bindings for FSUIPC

Latest version **0.7.3** (published 2024-09-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install fsuipc
pnpm add fsuipc
yarn add fsuipc
bun add fsuipc
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.3 |
| Published | 2024-09-27 |
| First published | 2018-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18.0 |
| Dependencies | 3 |
| Unpacked size | 253.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | koesie10 |
| Keywords | fsuipc, fsx, p3d, msfs |

## Links

- npm: https://www.npmjs.com/package/fsuipc
- Repository: github:koesie10/fsuipc-node
- npm.io page: https://npm.io/package/fsuipc

## Dependencies (3)

- [lerna](https://npm.io/package/lerna.md) ^8.0.1
- [node-addon-api](https://npm.io/package/node-addon-api.md) ^8.0.0
- [node-gyp-build](https://npm.io/package/node-gyp-build.md) ^4.5.0

## Recent versions

- 0.7.3 (latest) — 2024-09-27
- 0.7.2 — 2023-12-22
- 0.6.0 — 2022-10-22
- 0.5.0 — 2022-08-20
- 0.4.1 — 2021-05-30
- 0.4.0 — 2021-05-30
- 0.3.0 — 2019-05-30
- 0.2.1 — 2018-05-12
- 0.2.0 — 2018-05-12
- 0.1.1 — 2018-04-29
- 0.1.0 — 2018-02-07

## README

# fsuipc
> Node bindings to FSUIPC for Windows x64.

[![NPM Version][npm-image]][npm-url]
[![Downloads Stats][npm-downloads]][npm-url]

## Installation

```sh
npm install --save fsuipc
```

Or

```sh
yarn add fsuipc
```

## Usage example

```js
const fsuipc = require('fsuipc');

const obj = new fsuipc.FSUIPC();

obj.open()
    .then((obj) => {
      console.log(obj.add('clockHour', 0x238, fsuipc.Type.Byte));
      console.log(obj.add('aircraftType', 0x3D00, fsuipc.Type.String, 256));
      console.log(obj.add('lights', 0x0D0C, fsuipc.Type.BitArray, 2));

      return obj.process();
    })
    .then((result) => {
      console.log(JSON.stringify(result));

      return obj.close();
    })
    .catch((err) => {
      console.error(err);
      
      return obj.close();
    });

```

## Release History

This is only provided for historical reasons, for the newest releases see [GitHub releases](https://github.com/koesie10/fsuipc-node/releases).

* 0.4.1:
    * Limit number of published files
* 0.4.0:
    * Add support for requesting a connection to MSFS
    * Add support for writes
* 0.3.0
    * Add support for Node 12.0, drop support for Node < 11.0
* 0.2.0
    * Stability improvements
* 0.1.0
    * Initial release

<!-- Markdown link & img dfn's -->
[npm-image]: https://img.shields.io/npm/v/fsuipc.svg?style=flat-square
[npm-url]: https://npmjs.org/package/fsuipc
[npm-downloads]: https://img.shields.io/npm/dm/fsuipc.svg?style=flat-square

---
_Source: https://npm.io/package/fsuipc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
