Stream-based SQL query engine for JavaScript objects, v2.8.1 (latest). Enables SELECT, UPDATE, DELETE, INSERT on Node.js object streams with support for infinite streams, external sorting via Unix sort, GROUP BY, JOIN (INNER/LEFT), and type casting. Unlike in-memory libraries, it processes large datasets without loading entirely into memory. Key differentiators: stream-native API, MySQL-like SQL dialect without FROM clause, JOIN syntax using '@table' notation, and support for JSON streams, arrays, and custom formats.
npm install jl-sql-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates instantiation, query with GROUP BY and aggregation, piping from a readable stream to an array.
Use require() instead of import. No ESM wrapper available.
Do not include FROM in SQL queries. Use .from*() methods to supply data.
Update Node.js to version 6 or later.
Refer to documentation for supported SQL subset. Avoid subqueries and complex joins.
Install coreutils if missing (Linux/macOS). On Windows, consider using WSL or avoid large sorts.
Replace import statement with const JlSqlApi = require('jl-sql-api');Instantiate with new: const api = new JlSqlApi();
Upgrade Node.js to version 6 or later.
Check object keys: ensure the field name matches exactly (case-sensitive).
Use fromArrayOfObjects() for arrays, or wrap array in Readable.from().
No dependency data recorded yet.