@@ -108,29 +108,29 @@ _The original asynchronous SQLite binding for Node.js, [unmaintained since Decem
108108
109109## Feature matrix
110110
111- | Feature | @photostructure/sqlite | node: sqlite | better-sqlite3 | sqlite3 |
112- | ------------------------ | ---------------------- | ------------------------------------------------- | ---------------- | ------------- |
113- | ** API Compatibility** | node: sqlite | - | Custom | Custom |
114- | ** SQLite Version** | Independent | Tied to Node.js release | Independent | Independent |
115- | ** Min Node.js Version** | 20.0.0 | 22.5.0 | 14.0.0 | 10.0.0 |
116- | ** Experimental Flag** | ✅ Never needed | ⚠️ Required on 22.5–22.12; not needed since 22.13 | ✅ Not needed | ✅ Not needed |
117- | ** Synchronous API** | ✅ | ✅ | ✅ | ❌ |
118- | ** Asynchronous API** | ❌ | ❌ | ❌ | ✅ |
119- | ** TypeScript Types** | ✅ Built-in | ✅ Built-in | ✅ Via @types | ✅ Via @types |
120- | ** Custom Functions** | ✅ | ✅ | ✅ | ✅ |
121- | ** Aggregate Functions** | ✅ | ✅ | ✅ | ❌ |
122- | ** Window Functions** | ✅ | ✅ | ✅ | ❌ |
123- | ** Sessions/Changesets** | ✅ | ✅ | ❌ | ❌ |
124- | ** Backup API** | ✅ | ✅ | ✅ Different API | ✅ |
125- | ** Extension Loading** | ✅ | ✅ | ✅ | ✅ |
126- | ** Worker Threads** | ✅ | ✅ | ✅ | ⚠️ Limited |
127- | ** FTS5** | ✅ | ✅ | ✅ | ✅ |
128- | ** JSON Functions** | ✅ | ✅ | ✅ | ✅ |
129- | ** R\* Tree** | ✅ | ✅ | ✅ | ✅ |
111+ | Feature | @photostructure/sqlite | node: sqlite | better-sqlite3 | sqlite3 |
112+ | ------------------------ | ---------------------- | ------------------------------------------------- | --------------------- | -------- ------------- |
113+ | ** API Compatibility** | node: sqlite | - | Custom | Custom |
114+ | ** SQLite Version** | Independent | Tied to Node.js release | Independent | Independent |
115+ | ** Min Node.js Version** | 20.0.0 | 22.5.0 | 14.0.0 | 10.0.0 |
116+ | ** Experimental Flag** | ✅ Never needed | ⚠️ Required on 22.5–22.12; not needed since 22.13 | ✅ Not needed | ✅ Not needed |
117+ | ** Synchronous API** | ✅ | ✅ | ✅ | ❌ |
118+ | ** Asynchronous API** | ❌ | ❌ | ❌ | ✅ |
119+ | ** TypeScript Types** | ✅ Built-in | ✅ Built-in | ✅ Via @types | ✅ Via @types |
120+ | ** Custom Functions** | ✅ | ✅ | ✅ | ✅ |
121+ | ** Aggregate Functions** | ✅ | ✅ | ✅ | ❌ |
122+ | ** Window Functions** | ✅ | ✅ | ✅ | ❌ |
123+ | ** Sessions/Changesets** | ✅ | ✅ | ❌ | ❌ |
124+ | ** Backup API** | ✅ | ✅ | ✅ Different API | ✅ |
125+ | ** Extension Loading** | ✅ | ✅ | ✅ | ✅ |
126+ | ** Worker Threads** | ✅ | ✅ | ✅ | ⚠️ Limited |
127+ | ** FTS5** | ✅ | ✅ | ✅ | ✅ |
128+ | ** JSON Functions** | ✅ | ✅ | ✅ | ✅ |
129+ | ** R\* Tree** | ✅ | ✅ | ✅ | ✅ |
130130| ** Prebuild Strategy** | Bundled in npm | N/A (built-in) | Downloaded on install | Downloaded on install |
131- | ** Node-API** | ✅ | N/A | ❌ V8-specific | ✅ |
132- | ** Disposable Interface** | ✅ Native C++ | ✅ Native C++ | ❌ | ❌ |
133- | ** node_modules Size** | ~ 28MB (all prebuilds) | 0 (built-in) | ~ 14MB (with deps) | ~ 15MB (with deps) |
131+ | ** Node-API** | ✅ | N/A | ❌ V8-specific | ✅ |
132+ | ** Disposable Interface** | ✅ Native C++ | ✅ Native C++ | ❌ | ❌ |
133+ | ** node_modules Size** | ~ 28MB (all prebuilds) | 0 (built-in) | ~ 14MB (with deps) | ~ 15MB (with deps) |
134134
135135## Performance comparison
136136
0 commit comments