Skip to content

Commit 94d09b4

Browse files
committed
Add list of alternative SQLite libraries
1 parent 9d6a47f commit 94d09b4

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
- [Get example](#get-example)
4343
- [All example](#all-example)
4444
- [API Documentation](#api-documentation)
45+
- [Alternative SQLite libraries](#alternative-sqlite-libraries)
4546
- [References](#references)
4647
- [Support](#support)
4748
- [License](#license)
@@ -479,6 +480,19 @@ result.each((row) => {
479480

480481
See the [`docs`](docs/globals.md) directory for full documentation.
481482

483+
## Alternative SQLite libraries
484+
485+
This library and the library it primarily supports, `sqlite3`, may not be the best library that
486+
fits your use-case. You might want to try these other SQLite libraries:
487+
488+
- [better-sqlite3](https://github.com/JoshuaWise/better-sqlite3): Totes itself as the fastest and
489+
simplest library for SQLite3 in Node.js.
490+
- [sql.js](https://github.com/sql-js/sql.js): SQLite compiled to Webassembly.
491+
- [sqlite3-offline](https://www.npmjs.com/package/sqlite3-offline): Offers pre-compiled `sqlite3`
492+
binaries if your machine cannot compile it. Should be mostly compatible with this library.
493+
494+
If you know of any others, feel free to open a PR to add them to the list.
495+
482496
## References
483497

484498
* [Using SQLite with Node.js for Rapid Prototyping](https://medium.com/@tarkus/node-js-and-sqlite-for-rapid-prototyping-bc9cf1f26f10) on Medium.com

0 commit comments

Comments
 (0)