A lightweight SQL interface for Node.js projects, providing a simplified API for database queries. Version 0.6.3 is current, with infrequent updates based on author's needs. It wraps callback-based SQLite operations into promises. Differentiators: minimalistic design, zero dependencies, and direct SQL execution without ORM abstractions.
npm install davesqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create in-memory database, create table, insert, select, and close.
Use async methods (query, execute) instead.
Use a database-specific driver for MySQL, PostgreSQL, etc.
Use davesql.create() or davesql directly, not new davesql().
Use davesql.create({ file: 'db.sqlite' }) or davesql.query(...).Run npm install davesql and use import davesql from 'davesql'.
Initialize with const db = davesql.create({ file: 'db.sqlite' }); then db.query(...).No dependency data recorded yet.