{"library":"geos-wasm","type":"library","category":null,"description":"geos-wasm provides a high-performance WebAssembly (WASM) build of GEOS, a robust C/C++ port of the Java Topology Suite (JTS), enabling advanced planar geometry operations directly within JavaScript environments. Currently at version 3.1.1, this library allows developers to leverage a battle-tested geospatial engine without relying on native system dependencies, making it suitable for both browser-based applications and server-side contexts like Node.js, Bun, or Deno. Built using Emscripten, geos-wasm translates GEOS's extensive C/C++ core into an efficient WebAssembly module. Its key differentiator is bringing the full power and precision of GEOS's algorithms—such as buffering, intersection, union, and area calculation—to JavaScript with a minimal setup, abstracting away the complexities of the underlying C/C++ memory management through its WASM interface. While no fixed release cadence is stated, updates typically align with upstream GEOS advancements and community-driven requirements, ensuring access to the latest topological functionalities.","language":"javascript","status":"active","version":"3.1.1","tags":["javascript","GEOS","WASM","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install geos-wasm","imports":["import initGeosJs from 'geos-wasm';","const geos = await initGeosJs();\nconst reader = geos.GEOSWKTReader_create();","import type { GEOS } from 'geos-wasm';"]},{"cmd":"yarn add geos-wasm","imports":[]},{"cmd":"pnpm add geos-wasm","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/geos-wasm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/geos-wasm/compatibility"}}