{"library":"spl.js","type":"library","category":null,"description":"spl.js bundles SpatiaLite 5.1.1-rc0 with SQLite 3.51.1, GEOS 3.14.1, PROJ 9.7.1, and rttopo 1.1.0 for spatial operations in Node.js (sync API) and browsers (async API). Released under ISC license, it provides a unified API for managing spatial databases, importing GeoPackage and Shapefile formats, and handling GeoJSON/JSON transparently. Key differentiators: includes a minimal proj.db for Web Mercator and UTM, supports custom extensions, and auto-detects JSON/GeoJSON bindings. The WASM binary is ~4.5MB gzipped and ships TypeScript definitions. Release cadence is ongoing with version 1.0.1 as of 2025.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","spatialite","sqlite","geos","proj","rttopo","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install spl.js","imports":["import SPL from 'spl.js'","const db = await spl.db()","const result = await db.exec('SELECT 1').get.first"]},{"cmd":"yarn add spl.js","imports":[]},{"cmd":"pnpm add spl.js","imports":[]}],"homepage":"https://github.com/jvail/spl.js#readme","github":"https://github.com/jvail/spl.js","docs":null,"changelog":null,"pypi":null,"npm":"spl.js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}