JavaScript Database

Open-source JavaScript projects categorized as Database

Top 23 JavaScript Database Projects

  1. awesome-cheatsheets

    πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.

  2. Puter.js

    Puter.js - The Backend for AI-Generated Apps. One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.

    Puter.js logo
  3. SheetJS js-xlsx

    πŸ“— SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs

    Project mention: How to Convert Supplier CSVs to Shopify/Amazon/WooCommerce Without Uploading to a Server | dev.to | 2026-06-01

    The decision to process everything in the browser wasn't just about cost savings (zero server bills). It's a privacy feature: supplier inventory data, wholesale prices, and margin calculations never leave the user's machine. Technically, the app uses Papa Parse for CSV and SheetJS for XLSX, both loaded dynamically from CDN. The parsed rows are stored in a simple JavaScript array β€” no WebAssembly, no worker pool, just plain array operations that complete in under 50ms for typical supplier files.

  4. Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

    Project mention: 7 Hidden Security Vulnerabilities in Modern Node.js Applications | dev.to | 2026-05-15

    Use a robust Object Data Modeling (ODM) library. Libraries like Mongoose enforce strict schemas and automatically reject unexpected query operators.

  5. Lowdb

    Simple and fast JSON database

  6. Knex

    A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

  7. gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Project mention: Gun: An Ecosystem of Tools for Distributed Applications | dev.to | 2026-02-16

    Documentation

  8. MySQL

    A pure node.js JavaScript Client implementing the MySQL protocol.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. PouchDB

    :kangaroo: - PouchDB is a pocket-sized database.

  11. sql.js

    A javascript library to run SQLite on the web.

    Project mention: I built an audit-friendly SQLite viewer for VSCode because I stopped trusting marketplace extensions | dev.to | 2026-05-21

    One runtime dependency in the shipped .vsix: sql.js, the official SQLite compiled to WebAssembly

  12. PostgreSQL

    PostgreSQL client for node.js.

  13. WatermelonDB

    πŸ‰ Reactive & asynchronous database for powerful React and React Native apps ⚑️

  14. orbitdb

    Peer-to-Peer Databases for the Decentralized Web

  15. postgres

    Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare (by porsager)

    Project mention: Why Node.js needs a virtual file system | news.ycombinator.com | 2026-03-17

    Bun provides native MySQL, SQlite, and Postgres drivers.

    I'm not saying Node should support every db in existence but the ones I listed are critical infrastructure at this point.

    When using Postgres in Node you either rely on the old pg which pulls 13 dependencies[1] or postgres[2] which is much better and has zero deps but mostly depends on a single guy.

    [1] https://npmgraph.js.org/?q=pg

    [2] https://github.com/porsager/postgres

  16. dejavu

    A Web UI for Elasticsearch and OpenSearch: Import, browse and edit data with rich filters and query views, create reference search UIs.

  17. better-sqlite3

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

    Project mention: Run SQLite in the Browser with sql.js: A Complete Guide from Install to CRUD | dev.to | 2026-03-08

    sql.js is a browser solution. If you're in Node.js, use better-sqlite3 instead β€” it uses native bindings, runs significantly faster, has a cleaner API, and doesn't carry the 1.5 MB Wasm overhead.

  18. Objection.js

    An SQL-friendly ORM for Node.js

    Project mention: JavaScript Awesome Package | dev.to | 2026-02-03

    Objectionjs - An SQL-friendly ORM for Node.js

  19. Bookshelf

    A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js

  20. miragejs

    A client-side server to build, test and share your JavaScript app

    Project mention: JavaScript Awesome Package | dev.to | 2026-02-03

    Miragejs - Create your API on your Frontend

  21. Waterline

    An adapter-based ORM for Node.js with support for mysql, mongo, postgres, mssql (SQL Server), and more

  22. nodejs-testing-best-practices

    Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025)

  23. franchise

    🍟 a notebook sql client. what you get when have a lot of sequels.

  24. pg-promise

    PostgreSQL interface for Node.js

  25. OmniDB

    Web tool for database management

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Database discussion

Log in or Post with

JavaScript Database related posts

  • Learn DynamoDB by running it - accesspatterns.dev

    2 projects | dev.to | 30 Jun 2026
  • Free SQLβ†’ER diagram tool, runs in the browser, nothing uploaded

    7 projects | news.ycombinator.com | 13 Jun 2026
  • 9 silent-row-loss fixes in 7 days across 7 OSS databases

    1 project | dev.to | 7 Jun 2026
  • Your JavaScript app is probably losing cents: money math done right

    2 projects | dev.to | 4 Jun 2026
  • Scaling Shopify Webhooks to Handle Millions of Events: A Practical Guide

    3 projects | dev.to | 4 Jun 2026
  • How I scraped the CQC Care Register without hitting the API auth wall

    1 project | dev.to | 28 May 2026
  • I built an audit-friendly SQLite viewer for VSCode because I stopped trusting marketplace extensions

    2 projects | dev.to | 21 May 2026
  • A note from our sponsor - Puter.js
    developer.puter.com | 16 Aug 2026
    One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms. Learn more β†’

Index

What are some of the best open-source Database projects in JavaScript? This list will help you:

# Project Stars
1 awesome-cheatsheets 46,339
2 SheetJS js-xlsx 36,305
3 Mongoose 27,473
4 Lowdb 22,571
5 Knex 20,343
6 gun 19,110
7 MySQL 18,622
8 PouchDB 17,598
9 sql.js 13,660
10 PostgreSQL 13,191
11 WatermelonDB 11,764
12 orbitdb 8,793
13 postgres 8,701
14 dejavu 8,467
15 better-sqlite3 7,431
16 Objection.js 7,345
17 Bookshelf 6,352
18 miragejs 5,530
19 Waterline 5,392
20 nodejs-testing-best-practices 4,387
21 franchise 4,009
22 pg-promise 3,554
23 OmniDB 3,289

Sponsored
Puter.js - The Backend for AI-Generated Apps
One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.
developer.puter.com