SQLite-JS: Supercharge SQLite with JavaScript

2025-05-22
SQLite-JS: Supercharge SQLite with JavaScript

SQLite-JS is a powerful extension that lets you create custom SQLite functions, aggregates, window functions, and collations using JavaScript. This allows for flexible and powerful data manipulation directly within your SQLite database. It supports scalar functions (processing individual rows), aggregate functions (processing multiple rows), window functions (accessing the full dataset), and custom collations (defining sort orders). Create functions to perform calculations, text manipulation, and data transformations with simple SQL statements. Examples include calculating age, median, moving averages, and more. Direct JavaScript code evaluation is also supported for complex tasks. When used with sqlite-sync, custom functions are automatically replicated across a SQLite Cloud cluster.

Development Database Extension