{"library":"rtree-sql.js","type":"library","category":null,"description":"A fork of sql.js with R-Tree spatial indexing support. Version 1.7.0 (stable). This library compiles SQLite to JavaScript via Emscripten, enabling in-memory SQL databases in browsers and Node.js. Key differentiator: includes SQLite R-Tree extension for spatial queries, which the upstream sql.js does not enable by default. Same API as sql.js: create, query, export databases using pure JavaScript. Release cadence is sporadic, tied to upstream updates and patches for the R-Tree feature. Not to be confused with native SQLite3 bindings for Node.js; this is a pure in-memory implementation loading entire DB into memory.","language":"javascript","status":"active","version":"1.7.0","tags":["javascript","sql","sqlite","stand-alone","relational","database","RDBMS","data","query"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rtree-sql.js","imports":["const initSqlJs = require('rtree-sql.js');","const db = new SQL.Database();","const stmt = db.prepare('SELECT * FROM t');"]},{"cmd":"yarn add rtree-sql.js","imports":[]},{"cmd":"pnpm add rtree-sql.js","imports":[]}],"homepage":"http://github.com/danielbarela/sql.js","github":"ssh://git@github.com/danielbarela/sql.js","docs":null,"changelog":null,"pypi":null,"npm":"rtree-sql.js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}