# mpilot

> This is the JavaScript implementation of the [MPilot](https://github.com/consbio/mpilot) environmental modeling framework.

Latest version **0.3.1** (published 2022-05-04) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2022-05-04 |
| First published | 2021-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 976.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nikolas Stevenson-Molnar |
| Maintainers | nikmolnar |

## Links

- npm: https://www.npmjs.com/package/mpilot
- npm.io page: https://npm.io/package/mpilot

## Dependencies (1)

- [parse-entities](https://npm.io/package/parse-entities.md) ^3.1.0

## Recent versions

- 0.3.1 (latest) — 2022-05-04
- 0.3.0 — 2022-01-30
- 0.2.2 — 2022-01-05
- 0.2.1 — 2021-12-17
- 0.2.0 — 2021-12-17
- 0.1.4 — 2021-12-16
- 0.1.3 — 2021-04-16
- 0.1.2 — 2021-04-16

## README

# MPilot JS

This is the JavaScript implementation of the [MPilot](https://github.com/consbio/mpilot) environmental modeling 
framework.

MPilot is an environmental modeling framework based on a bottom-up, many-to-many workflow that can be represented by a 
directed (not iterating) graph. Mpilot is descended from the Environmental Evaluation Modeling System (EEMS), which was
initially a fuzzy logic modeling package based on EMDS.

MPilot JS is currently capable of parsing models, but cannot run them.

# Creating models

MPilot models are contained in "command files", using a simple scripting language. Here is an example model, which 
loads two columns of integer data from a CSV file, sums them, and writes the result to a second CSV file.

```text
A = EEMSRead(
    InFileName = "input.csv",
    InFieldName = "A",
    DataType = "Integer"
)
B = EEMSRead(
    InFileName = "input.csv",
    InFieldName = "B",
    DataType = "Integer"
)
APlusB = Sum(
    InFieldNames = [A, B]
)
Out = EEMSWrite(
    OutFileName = "output.csv",
    OutFieldNames = [A, B, APlusB]
)
```

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