SQL adapter for Bass.js, a JavaScript ODM (Object Document Mapper). Version 0.0.29 is the latest, with irregular releases. It provides a familiar ODM interface for SQL databases, supporting SQLite, PostgreSQL, MySQL, and MSSQL via a pluggable client. Unlike full ORMs like Sequelize or TypeORM, bass-sql keeps the ODM pattern minimal and schema-less, delegating query building to Bass.js and database connectivity to external npm packages such as sql.js, pg, mysql2, and tedious.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The default export is the adapter factory function.
bass is a separate package.
Model class is from bass, not bass-sql.
Sets up a Bass.js ODM with an SQLite backend using bass-sql, defines a model, creates a record, and queries all records.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.