AlaSQL (v4.17.3) is an open-source JavaScript SQL database for in-memory data processing, ETL, and browser/Node.js/mobile apps. It supports querying JavaScript arrays, objects, Excel (XLS/XLSX), CSV, JSON, IndexedDB, LocalStorage, and SQLite files with SQL-99 syntax and NoSQL extensions. Over 650k monthly downloads, weekly releases on npm. Key differentiators: direct query on nested JSON, relational joins across heterogeneous data sources, and no server required. Ships TypeScript types and works with ESM, CJS, and browser script tags.
npm install alasqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating an in-memory relational table, inserting data, and querying with async/await. Uses TypeScript for strict type safety.
Replace alasql('query') with await alasql.promise('query') or use callback version.Avoid using undocumented properties. Use public SQL API instead.
Use alasql.promise() for non-blocking execution, or wrap in a timeout/setImmediate.
Use `import alasql from 'alasql'` or `const alasql = require('alasql')`.Update to v4+ or use synchronous alasql('query') directly.No dependency data recorded yet.