jspard-sqlite is a lightweight SQLite wrapper for JavaScript/TypeScript (currently v0.0.18, pre-1.0). It provides a simple promise-based API for executing SQL queries on SQLite databases. Key differentiators: zero dependencies, minimal overhead, and direct SQL execution without ORM features. Release cadence is irregular. Suitable for small projects or quick prototyping where full-featured solutions like better-sqlite3 or sql.js are overkill.
npm install jspard-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Opens a SQLite database, creates a table, inserts a row, and selects all rows using async/await.
Use ':memory:' for in-memory database to avoid file creation.
Always pass parameters as an array, e.g., db.run('INSERT INTO t VALUES (?)', [value]).Use sql.js or similar if browser compatibility is required.
Run 'npm install jspard-sqlite' in your project directory.
Ensure you await open() or use .then() before calling methods on db.
Run CREATE TABLE statement before SELECT. Check database file path.
No dependency data recorded yet.