0.8.0-alpha.5 • Published 5 months ago

@model-create/epanet-engine v0.8.0-alpha.5

Weekly downloads
287
License
MIT
Repository
-
Last release
5 months ago

💧@model-create/EPANET-engine

Internal engine for epanet-js, C source code for Open Water Analytics EPANET v2.2 toolkit compiled to Javascript.

Note: All version before 1.0.0 should be considered beta with potential breaking changes between releases, use in production with caution.

Build

epanet-js is split into two packages, the epanet-engine package which compiles the original C code into WASM using Emscripten. And epanet-js is a TypeScript library which wraps over the generated module from Emscripten and manages memory allocation, error handling and returning of varaible.

Building epanet-engine

Run the command pnpm run build to creates a docker container of Emscripten and the compiled OWA-EPANET source code and generate types.

cd packages/epanet-engine
pnpm run build

Building epanet-js

You must first build epanet-engine before you can test or build epanet-js.

cd packages/epanet-js
pnpm run test
pnpm run build

License

The epanet-js and @model-create/epanet-engine are MIT licenced.

The hydraulic engine used within the epanet-js library is OWA-EPANET, which is MIT licenced, with contributed by the following authors.

0.8.0-alpha.5

5 months ago

0.8.0-alpha.2

5 months ago

0.8.0-alpha.1

6 months ago

0.8.0-alpha.4

5 months ago

0.8.0-alpha.3

5 months ago

0.7.1-alpha.2

3 years ago

0.7.1-alpha.3

3 years ago

0.7.1-alpha.1

3 years ago

0.7.0

3 years ago

0.6.4-beta.0

4 years ago

0.6.3

4 years ago

0.6.3-alpha.1

4 years ago

0.6.3-alpha.2

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

5 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago