{"repo":"stoolap/stoolap-node","free":true,"listed":false,"github":"https://github.com/stoolap/stoolap-node","clone":"git clone https://github.com/stoolap/stoolap-node.git","description":"Stoolap NodeJS Bindings","language":"JavaScript","stars":20,"topics":["database","driver","nodejs","sql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"@stoolap/node High-performance JavaScript driver for Stoolap, a modern embedded SQL database with MVCC, time-travel queries, and full ACID compliance. Built with a native N-API C addon for minimal overhead. Works with Node.js, Bun, and Deno. Provides both async and sync APIs. Installation The stoolap engine shared library is pre-built for: - macOS (x64, ARM64) - Linux (x64, ARM64 GNU) - Windows (x64 MSVC) A C compiler is required to build the thin N-API addon on install (compiled automatically via node-gyp ): - macOS : xcode-select --install - Linux : sudo apt-get install build-essential (or equivalent) - Windows : Visual Studio Build Tools with \"Desktop development with C++\" Quick Start API Database Async Methods Method Returns Description -------- --------- ------------- Database.open(path) Promise Open a database execute(sql, params?) Promise Execute DML statement exec(sql) Promise Execute a DDL statement query(sql, params?) Promise Query rows as objects queryOne(sql, params?) Promise Query single row queryRaw(sql, params?) Promise Query in columnar format begin() Promise Begin a transaction close() Promise Close the database Sync Methods Sync methods run on the main thread. Faster for simple operations but block the event loop. Method Returns Description -------- --------- ------------- Database.openSync(path) Database Open a database clone() Database Clone handle (shared engine, own state) executeSync(sql, params?) RunResult Execute DML statement execSync(sql) void Execu","default_branch":null,"files":null,"tree":[],"storefront":"/r/stoolap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stoolap/stoolap-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}