Saturday, August 12, 2023

better-sqlite3: SQLite + JS

Not async! but fast apparently. 

WiseLibs/better-sqlite3: The fastest and simplest library for SQLite3 in Node.js. @GitHub

"The fastest and simplest library for SQLite3 in Node.js.

  • Full transaction support
  • High performance, efficiency, and safety
  • Easy-to-use synchronous API (better concurrency than an asynchronous API... yes, you read that correctly)
  • Support for user-defined functions, aggregates, virtual tables, and extensions
  • 64-bit integers (invisible until you need them)
  • Worker thread support (for large/slow queries)"
docs:


NPM sqlite:



The fastest and simplest library for SQLite3 in Node.js. (simple, sinc funcs)

A wrapper library written in Typescript with ZERO dependencies that adds ES6 promises and SQL-based migrations API to sqlite3 (docs).

Asynchronous, non-blocking SQLite3 bindings for Node.js.

No comments: