Hacker GitHub

← All repos

WiseLibs/better-sqlite3

View on GitHub ↗ ★ 7,543 JavaScript

The fastest and simplest library for SQLite3 in Node.js.

19 mentions on Hacker News by 18 people: 5 stories, 14 comments · first 2018-03-19 · latest 2025-10-20

Mentions per year 19 mentions · busiest year 2023 (6)
20082026
  1. ▲ 2
    Better-Sqlite3 vs. Sqlite3
    story by steveharrison · 2025-10-20 · 0 comments
  2. I’ve enjoyed https://github.com/WiseLibs/better-sqlite3/blob/master/docs/... as a code of conduct. Simple, well-motivated, well-practiced (I think). Unlike more convoluted CoCs, it’s tightly scoped on work, not fun. Specific labor intended…
  3. ▲ 2
    Better-sqlite3: The fastest and simplest library for SQLite3 in Node.js
    story by thunderbong · 2025-09-15 · 0 comments
  4. …with generated columns and indexes, but I haven’t found a proper use for this yet in my work. [1] https://github.com/WiseLibs/better-sqlite3/blob/HEAD/docs/ap...
    comment by DecoPerson · 2025-06-16 · in SQLite Date and Time Functions (2007)
  5. These may be useful reading: https://github.com/TryGhost/node-sqlite3/issues/408#issue-57... https://github.com/WiseLibs/better-sqlite3/issues/32#issueco... Copying a quote from the second: > The sqlite3 C API serializes all operations…
    comment by darthShadow · 2025-01-27 · in Supercharge SQLite with Ruby Functions
  6. ▲ 1
    Convince me to use better-sqlite3
    story by avetisk · 2023-11-30 · 0 comments
  7. …you're a prodigy or have a sizable team and will come with numerous downsides. I can recommend https://github.com/WiseLibs/better-sqlite3 and https://github.com/loveencounterflow/dbay
  8. ▲ 6
    VS Code as a dependency for an npm module
    story by b800h · 2023-08-28 · 3 comments
  9. …Notion's desktop app anyways. The "why should I use this" bits sound boastful but are reasonable. https://github.com/WiseLibs/better-sqlite3#why-should-i-use-...
  10. …writes? There's no client-server setup here, using async / await just introduces pointless waiting. https://github.com/WiseLibs/better-sqlite3
  11. …to handle the networking and database replication so that it doesn't rely on the underlying DB. [0] https://github.com/WiseLibs/better-sqlite3/blob/HEAD/docs/ap... [1] https://replicache.dev/
  12. …writes are via https://github.com/photostructure/exiftool-vendored.js/ Persistence is via SQLite: https://github.com/WiseLibs/better-sqlite3 Image transforms are via Sharp: https://sharp.pixelplumbing.com/ My more nerdier blog posts are…
  13. …be great to have some benchmarks against better-sqlite and the regular sqlite libraries, like in https://github.com/WiseLibs/better-sqlite3
    comment by jackbravo · 2022-09-29 · in Flyweight: An ORM for SQLite
  14. I tried to replace SQLite with DuckDB for a customized install of better-sqlite3[1] and failed. [1] https://github.com/JoshuaWise/better-sqlite3
    comment by DemocracyFTW2 · 2022-05-27 · in Range joins in DuckDB
  15. Best option for SQlite with node is this. https://github.com/JoshuaWise/better-sqlite3 Author is all over the issues section, and seems very knowledgeable about how SQLite works.
    comment by LAC-Tech · 2022-05-10 · in I'm all-in on server-side SQLite
  16. …ttps://github.com/mattn/go-sqlite3/pull/1019 [1] https://github.com/mapbox/node-sqlite3/pull/1550 [2] https://github.com/JoshuaWise/better-sqlite3/pull/778 [3] https://github.com/multiprocessio/datastation
  17. you can write your own table-valued, aggregate and window functions when you use better-sqlite3 (see https://github.com/JoshuaWise/better-sqlite3/blob/master/doc... see Database#function(), Database#aggregate(), Database#table()) in…
    comment by DemocracyFTW · 2021-08-05 · in In Praise of PostgreSQL
  18. …instead which came with the benefits of being able to use other jdbc libraries like honeysql. [1] https://github.com/JoshuaWise/better-sqlite3
    comment by pmlamotte · 2018-05-17 · in A SQLite Tutorial with Node.js
  19. ▲ 59
    Better-sqlite3: A faster Sqlite library for Node.js
    story by jeswin · 2018-03-19 · 60 comments