Skip to content
← Directory

software · Global

openswmm.engine.wasm

Web assembly bindings for the Open-Source SWMM Engine

Claim this listing

Represent openswmm.engine.wasm? Send a claim for review so we can discuss listing updates. Claims do not automatically grant ownership or verification.

Explore paid sponsorship →

What's in it

Data offered docs-verified
node depth, head, volume, lateral inflow, overflow (bulk Float64Array accessors) · link flow, depth, velocity, capacity, gate setting · subcatchment runoff and area · rain gage rainfall · runtime forcing overrides (node inflow, outfall head, link flow/setting, subcatchment and gage rainfall) · 2D surface depths, edge fluxes and mass balance (Surface2D)
Resolution docs-verified
Temporal: model-defined routing time step in seconds (the docs' example uses 5 s). Spatial: set by the user's own 1D network and 2D triangle mesh.
Formats docs-verified
SWMM .inp input · .rpt report · .out output · WebAssembly (.wasm) module with JS glue · TypeScript wrappers via npm package · ES module browser bundle (zip from GitHub Releases)
Access docs-verified
Open source, Apache-2.0 licence. Installable from npm with no credentials shown in the docs. The ENTRY lists an NPM_TOKEN, but the DOCS do not state that npm needs one. The GitHub Packages channel requires an authenticated client.

Useful for

Use cases llm-inferred
Sewer or SuDS network surcharge and flooding checks by running a SWMM model from a Node or browser-based screening tool · Scenario testing of drainage designs by injecting lateral inflows or rainfall at runtime during a simulation loop · 2D overland flow and ponding screening on a site mesh using the Surface2D API · Embedding SWMM runs in web apps for client-facing drainage or flood-risk tools without a desktop install
Audience llm-inferred
drainage engineers · hydrologists · flood consultants · civils engineers · software developers building engineering web tools

Limitations

Constraints docs-verified
Convenience classes cover only a subset of the Python API; the raw layer covers the enabled native features · Surface2D is active only once the model has a 2D mesh and initialize() has run · Versions are pre-release: development builds use the dev dist-tag and other pre-releases use next · GitHub Packages channel needs an authenticated client with read:packages
Licence
Apache-2.0
Authentication
API key via env: NPM_TOKEN (auto-extracted from README)
GitHub stars
2
Last commit
14/10/2026
Last successful page check
14/10/2026
Page health
healthy
Package
Not recorded
Verification
Not independently verified

Auto-extracted, unverified fields: tools, auth. Check upstream documentation.

Provenance & evidence

Verified via GitHub API (2026-10-15). Tools/install/auth auto-extracted from README.

Metadata observed 14/10/2026 · research sweep: manual-2026-10-15 (hydrocouple.org)