awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
WiseLibs avatar

WiseLibs/better-sqlite3

0
View on GitHub↗
7,311 Stars·465 Forks·JavaScript·MIT·3 Aufrufe

Better Sqlite3

better-sqlite3 is a high-performance SQLite3 client for Node.js that executes queries synchronously, returning results directly without callbacks or promises. It compiles as a native addon using N-API, binding directly to the SQLite3 C library for immediate query execution and zero-copy result serialization into native JavaScript objects.

The library is optimized for Write-Ahead Logging (WAL) mode, enabling faster concurrent reads and writes in web applications. It provides durability level tuning through the synchronous pragma, allowing adjustments between FULL, NORMAL, and OFF modes to balance write performance against crash safety. The library also includes checkpoint starvation prevention, monitoring WAL file growth and triggering forced checkpoints to prevent unbounded disk usage during high-write workloads.

The project handles multi-gigabyte databases efficiently with proper indexing and joins, and its synchronous API eliminates callback overhead and promise wrappers for straightforward query execution.

Features

  • Synchronous SQL Executions - Runs SQL statements synchronously in Node.js and returns results directly without callbacks or promises.
  • Synchronous - Binds directly to the SQLite3 C library using synchronous calls for immediate query execution.
  • SQLite Write Optimizations - Improves read and write performance for concurrent database access by enabling Write-Ahead Logging.
  • Synchronous - A Node.js database driver that runs SQLite3 queries synchronously, returning results inline without async patterns.
  • WAL Mode Enabling - Switches the database to Write-Ahead Logging for dramatically faster concurrent reads and writes.
  • SQLite3 Clients - A high-speed SQLite3 client for Node.js that handles multi-gigabyte databases with efficient indexing and joins.
  • Synchronous SQLite3 Executions - Runs SQL queries in Node.js with synchronous execution, returning results directly without callbacks or promises.
  • Node.js Bindings - The fastest synchronous SQLite3 library for Node.js, executing queries directly without callbacks or promises.
  • WAL Mode Database Libraries - Provides a SQLite3 library optimized for Write-Ahead Logging, enabling faster concurrent reads and writes.
  • SQLite WAL Integrations - Enables Write-Ahead Logging through direct pragma configuration for concurrent reads and writes.
  • Node.js Native Addons - Compiles as a Node.js native addon using N-API for direct C-level access to SQLite3.
  • Large Data Volume Handling - Processes queries efficiently on multi-gigabyte databases using proper indexing and joins.
  • WAL Checkpointing - Monitors and forces WAL file checkpoints to prevent unbounded disk usage in long-running applications.
  • Starvation Prevention - Monitors WAL file growth and forces checkpoints to prevent unbounded disk usage during high-write workloads.
  • Database Performance Utilities - Processes queries efficiently on multi-gigabyte SQLite3 databases with proper indexing and joins.
  • Zero-Copy - Returns query results as native JavaScript objects without intermediate copying using direct memory access.
  • Transaction Durability Relaxations - Trades write performance for guaranteed durability by setting the synchronous pragma to FULL in WAL mode.
  • SQLite Durability Tunings - Adjusts write durability levels by setting synchronous pragmas to balance performance and data safety.
  • Durability Level Adjustments - Adjusts synchronous pragma settings to balance write performance against crash safety in WAL mode.

Star-Verlauf

Star-Verlauf für wiselibs/better-sqlite3Star-Verlauf für wiselibs/better-sqlite3

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht wiselibs/better-sqlite3?

better-sqlite3 is a high-performance SQLite3 client for Node.js that executes queries synchronously, returning results directly without callbacks or promises. It compiles as a native addon using N-API, binding directly to the SQLite3 C library for immediate query execution and zero-copy result serialization into native JavaScript objects.

Was sind die Hauptfunktionen von wiselibs/better-sqlite3?

Die Hauptfunktionen von wiselibs/better-sqlite3 sind: Synchronous SQL Executions, Synchronous, SQLite Write Optimizations, WAL Mode Enabling, SQLite3 Clients, Synchronous SQLite3 Executions, Node.js Bindings, WAL Mode Database Libraries.

Welche Open-Source-Alternativen gibt es zu wiselibs/better-sqlite3?

Open-Source-Alternativen zu wiselibs/better-sqlite3 sind unter anderem: napi-rs/napi-rs — napi-rs is a framework and toolkit for building high-performance native extensions for Node.js using Rust. It… nodejs/node-addon-api — This project provides a header-only C++ wrapper for the Node-API, serving as a framework for building high-performance… nodejs/nan — This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides… justadudewhohacks/opencv4nodejs — opencv4nodejs is a set of JavaScript wrappers and a C++ native addon that provides Node.js bindings for the OpenCV… 4gray/iptvnator — Iptvnator is an Electron-based desktop application for streaming live television and radio. It serves as an IPTV… automattic/node-canvas — node-canvas is a server-side 2D vector graphics and image processing library for Node.js. It provides a server-side…

Open-Source-Alternativen zu Better Sqlite3

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Better Sqlite3.
  • nodejs/nanAvatar von nodejs

    nodejs/nan

    3,351Auf GitHub ansehen↗

    This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory

    C++nodenodejs
    Auf GitHub ansehen↗3,351
  • nodejs/node-addon-apiAvatar von nodejs

    nodejs/node-addon-api

    2,400Auf GitHub ansehen↗

    This project provides a header-only C++ wrapper for the Node-API, serving as a framework for building high-performance native addons for Node.js. It acts as a bridge between C++ and JavaScript, offering an object-oriented interface that simplifies the creation of compiled extensions while managing the complexities of the language boundary. The library distinguishes itself by providing type-safe abstractions for data marshalling and memory management, ensuring that native and script-side objects are tracked and reclaimed correctly. It includes mechanisms for coordinating asynchronous tasks bet

    C++nodenodejs
    Auf GitHub ansehen↗2,400
  • napi-rs/napi-rsAvatar von napi-rs

    napi-rs/napi-rs

    7,500Auf GitHub ansehen↗

    napi-rs is a framework and toolkit for building high-performance native extensions for Node.js using Rust. It functions as a bridge between Rust and JavaScript runtimes, enabling the conversion of data types and the execution of native functions within a JavaScript environment. The project provides a native binary compiler and a cross-platform module orchestrator to automate the compilation and publishing of packages across multiple operating systems and architectures. It generates corresponding JavaScript type definitions and platform-specific binaries to ensure consistent installation. The

    Rustjavascriptnapinapi-rs
    Auf GitHub ansehen↗7,500
  • justadudewhohacks/opencv4nodejsAvatar von justadudewhohacks

    justadudewhohacks/opencv4nodejs

    5,045Auf GitHub ansehen↗

    opencv4nodejs is a set of JavaScript wrappers and a C++ native addon that provides Node.js bindings for the OpenCV library. It functions as a computer vision library and image processing framework, exposing high-performance C++ algorithms to a JavaScript environment. The project enables the execution of vision algorithms for detecting faces, tracking objects, and analyzing visual data using deep neural networks. It includes capabilities for data pattern classification, text pattern recognition, and the identification of facial landmarks and gestures. The framework covers a broad capability s

    C++asynccvface-detection
    Auf GitHub ansehen↗5,045
  • Alle 30 Alternativen zu Better Sqlite3 anzeigen→