New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@model-create/epanet-engine

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@model-create/epanet-engine

EPANET WASM engine

latest
npmnpm
Version
0.8.0
Version published
Weekly downloads
457
-16.15%
Maintainers
1
Weekly downloads
 
Created
Source

💧@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.

FAQs

Package last updated on 01 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts