A streaming, backend-agnostic SQL ORM for Node.js, inspired by levelup. Version 0.8.5 is the latest stable release, with sparse maintenance. It supports MySQL and SQLite3 drivers, providing a stream-based API for CRUD operations on database tables. Key differentiators include a streaming interface (createReadStream, createWriteStream) and backend abstraction, but note it does not auto-install database drivers. Current status is 'deprecated' as it was last published in 2013 and has no recent updates.
npm install streamsqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize streamsql with sqlite3, register a table, insert a row, and fetch it.
Consider using a maintained ORM like sequelize, knex, or objection.
Run npm install mysql or npm install sqlite3 in addition to streamsql.
Use the returned db object directly; no need to wait for a connection event.
You must manually run CREATE TABLE SQL using db.query() or an external tool.
Run: npm install mysql
Run: npm install sqlite3
Use db.table('name', definition) after calling streamsql.connect().