SQLite JavaScript
github.com · Open source · Active
Write custom SQLite functions, aggregates and collations in JavaScript
- Data & databases
- Open source
- C
- Day-7 check
- Day-30 check
- sqlite
- javascript
- extension
- database
- sqlite extension
- sqlite javascript
- custom sql functions
- sqlite collation
- quickjs sqlite
- sqlite udf
- Stars
- 571
- Forks
- 18
- Open issues
- 1
- Last commit
- Releases
- 30
- Found
- 18 months ago
GitHub figures as of . They are context, not a ranking.
SQLite JavaScript is an open-source extension that lets you define SQLite scalar functions, aggregates, window functions and collations in JavaScript. It is written in C, which suits developers who want to add custom logic to a SQLite database.
Repository description on GitHub: “Create custom SQLite functions in JavaScript. Extend your database with scalars, aggregates, window functions, and collations directly in JavaScript.”
What it does
- Scalar functions, aggregates, window functions and collations in JavaScript
- Runs JavaScript inside a QuickJS sandbox
- Runs locally as a SQLite extension
Good for
- Add a custom SQL function written in JavaScript to a query
- Define a collation for sorting text in a SQLite database
Suits: Developers adding custom logic to SQLite databases.
What you can try
Read the README on GitHub and install from source.
Install
npm install @sqliteai/sqlite-jsTaken from the project’s README. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw SQLite JavaScript on , when marcobambini posted it to Show HN. The oldest published release on GitHub is 1.1.0, dated . SQLite JavaScript had been shipping tagged releases for 42 days before it was found. 30 releases have been published in total; the latest is 1.4.4 ().
Day-7 and day-30 updates
Day 7 1 release shipped
- 1 release in the first 7 days: 1.1.3 (23 May 2025)
- Show HN discussion at check time: 199 points, 57 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 1 release shipped
- 1 release in the first 30 days: 1.1.3 (23 May 2025)
- Show HN discussion at check time: 199 points, 57 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: sqliteai/sqlite-js
- Release 1.1.0
- Found: marcobambini posted it to Show HN. Show HN
- Release 1.3.7
- Release 1.4.0
- Release 1.4.1
- Release 1.4.2
- Release 1.4.3
- Release 1.4.4
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 30 releases. All releases on GitHub
Quick answers
- When was SQLite JavaScript released?
- Its first tagged release on GitHub is dated 10 Apr 2025. Kip found it on Show HN on 22 May 2025.
- Is SQLite JavaScript open source?
- Its source is public on GitHub at sqliteai/sqlite-js under the Apache-2.0 licence.
- What does SQLite JavaScript run on?
- Library.
- Is SQLite JavaScript free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is SQLite JavaScript still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | sqliteai/sqlite-js REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-44061836. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.