JavaScript Database

Open-source JavaScript projects categorized as Database | Edit details

Top 23 JavaScript Database Projects

  • SheetJS js-xlsx

    :green_book: SheetJS Community Edition -- Spreadsheet Data Toolkit

    Project mention: How to convert XLSX to JSON | dev.to | 2021-12-15

    The sheet_to_json function allows to convert a spreadsheet into an array of objects. It takes differents optionnal parameters that you can find here Here we won't need anything

  • awesome-cheatsheets

    👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.

    Project mention: Bash Cheatsheet - Everything you should know in one single file 🚀 | reddit.com/r/johngrillo | 2021-12-21
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Sequelize

    An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js | Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server & DB2

    Project mention: Getting started with Adonis, Vue & Inertia | dev.to | 2022-01-22

    Lucid is AdonisJS Built-In ORM. It's extremely powerful and works much like Laravel's Eloquent ORM. While Lucid is built in, you can optionally use Sequelize or Prisma with AdonisJS as well.

  • Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

    Project mention: Mongo employee search application | dev.to | 2022-01-13

    Mongoose [Note:] # Screenshots/demo videos are encouraged!

  • Lowdb

    Simple to use local JSON database (supports Node, Electron and the browser)

    Project mention: I want to make a complete "note" taking app but i'm still a beginner and only know up to vanilla js. What should I learn so I can make this project? | reddit.com/r/webdev | 2021-09-28

    Maybe you could take this project as a reference? It is a chrome extension built by Vue3 & Vite2. It aksi combines lowdb with chrome.storage to store the notes.

  • MySQL

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

    Project mention: Safari will not load React App. Invalid regular expression: invalid group specifier name | reddit.com/r/reactjs | 2022-01-04
  • gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Project mention: gun: NEW Data - star count:15251.0 | reddit.com/r/algoprojects | 2022-01-08
  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Knex

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

    Project mention: New to PostgreSQL - Best way to use it? | reddit.com/r/PostgreSQL | 2022-01-25

    a) How will you do your queries from node. There's two, actually three approaches. First, writing SQL directly in your code (which I think is the one you should take), and in this case you would use node-postgres. The great thing about this is that you can try out some query in DBeaver or in psql (the command line) or some other tool and when it's right, just copy to your node.js code. Or conversely, if a query in your program isn't right, you can debug it in psql / DBeaver with some test inputs. Anyway another approach would be to use an ORM, and for this one I think the most popular in node land is Prisma (but I may be wrong). And then there's a middle ground which is like just writing queries, but instead of using sql syntax, you write it with JS methods and get them converted to SQL using a query builder. A nice query builder would be knexjs, and actually it's the kind of thing I would use myself (but I don't program in node). (Prisma itself has a comparison on those 3 approaches (actually, the whole Prisma documentation is pretty good))

  • PouchDB

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

    Project mention: Where do Nomie 5 files live within the Chrome Android App? Looking for redundancy vs local | reddit.com/r/nomie | 2022-01-20

    Sucks that couch doesn't work well for sync :( I was hoping that I could set up sync between my laptop and phone without a server since those are the two primary devices I use. Is this the issue with deletion you were talking about?

  • PostgreSQL

    PostgreSQL client for node.js.

    Project mention: New to PostgreSQL - Best way to use it? | reddit.com/r/PostgreSQL | 2022-01-25

    a) How will you do your queries from node. There's two, actually three approaches. First, writing SQL directly in your code (which I think is the one you should take), and in this case you would use node-postgres. The great thing about this is that you can try out some query in DBeaver or in psql (the command line) or some other tool and when it's right, just copy to your node.js code. Or conversely, if a query in your program isn't right, you can debug it in psql / DBeaver with some test inputs. Anyway another approach would be to use an ORM, and for this one I think the most popular in node land is Prisma (but I may be wrong). And then there's a middle ground which is like just writing queries, but instead of using sql syntax, you write it with JS methods and get them converted to SQL using a query builder. A nice query builder would be knexjs, and actually it's the kind of thing I would use myself (but I don't program in node). (Prisma itself has a comparison on those 3 approaches (actually, the whole Prisma documentation is pretty good))

  • react-native-firebase

    🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.

    Project mention: Do not underestimate digging in and contributing to real, live (better commercial) project | reddit.com/r/learnprogramming | 2022-01-06

    Go check if open source project you use daily has a stack you want to learn (or find one) and try to solve real issue from /issues part of their repository

  • sql.js

    A javascript library to run SQLite on the web.

    Project mention: TinyBase: A JavaScript library for structured state | news.ycombinator.com | 2022-01-17

    SQLite on WASM[0]is absolutely what you are looking for. There is also “Absurd SQL”[1] which extends it to use indexedDB as a VFS for storage allowing proper atomic transactions and not loading the whole thing into memory.

    0: https://sql.js.org/

    1: https://github.com/jlongster/absurd-sql

  • MongoDB

    The Official MongoDB Node.js Driver

    Project mention: Mongo Atlas Upgrading M0 M2 M5 shared instances to v5.0 (Mid Feb) | reddit.com/r/node | 2022-01-24
  • WatermelonDB

    🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️

    Project mention: Is there is any alternative to AsyncStorage | reddit.com/r/reactnative | 2021-12-22

    watermelondb https://github.com/Nozbe/WatermelonDB mmkv giving another issue when you release on playstore in here https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/194

  • Dexie.js

    A Minimalistic Wrapper for IndexedDB

    Project mention: Rexie: An easy-to-use, futures based wrapper around IndexedDB that compiles to webassembly | reddit.com/r/rust | 2022-01-09

    rexie (inspired by dexie.js)

  • orbit-db

    Peer-to-Peer Databases for the Decentralized Web

    Project mention: Any suggestions to build a decentralized web app? | reddit.com/r/ipfs | 2021-11-22

    I want to build a decentralized social media web app for a personal project, and I'm thinking on using IPFS. What tool, API, or library can get me set up without writing smart contracts or using blockchain solutions? I've heard that GunDB or OrbitDB are useful libraries- is that true? What are your thoughts and suggestions?

  • Objection.js

    An SQL-friendly ORM for Node.js

    Project mention: Side Project - Tode-CLI, A tool for scaffolding nodejs projects | dev.to | 2021-12-15

    import BaseModel from "../BaseMode"; export class User extends BaseModel { // Name of table that this model maps back to // Table name is the only required property. public static tableName = 'ENTER_TABLE_NAME'; // Example property public foo!: string; // Add other table fields (columns) as properties to access them via the model // Define the relations to other models. // READ MORE at https://vincit.github.io/objection.js/guide/relations.html public static relationMappings = () => ({ // specify relation with other modules }) }

  • Bookshelf

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

    Project mention: Recovering XAMPP developer looking to make a Node CRUD app. What Node database tools are easy to learn? | reddit.com/r/node | 2021-12-30

    I made the transition from LAMP to Node-based stacks 6 or 7 years ago and started out using BookshelfJS. Node is a different world though, one that lends itself to distributed services and server-less infrastructure, and it's changed how I interact with DBs.

  • Waterline

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

    Project mention: Best Node.js ORM? | reddit.com/r/node | 2021-06-30
  • LevelUP

    A wrapper for abstract-leveldown compliant stores, for Node.js and browsers.

  • pg-promise

    PostgreSQL interface for Node.js

    Project mention: Help seeding a database with PG | reddit.com/r/learnjavascript | 2021-08-17

    Yes. You can also take at the pg-promise library. https://github.com/vitaly-t/pg-promise

  • orm2

    Object Relational Mapping

  • OmniDB

    Web tool for database management

    Project mention: OmniDB – Web tool for database management | news.ycombinator.com | 2021-12-10
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). The latest post mention was on 2022-01-25.

JavaScript Database related posts

Index

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

Project Stars
1 SheetJS js-xlsx 28,854
2 awesome-cheatsheets 26,452
3 Sequelize 25,575
4 Mongoose 23,775
5 Lowdb 17,076
6 MySQL 16,940
7 gun 15,405
8 Knex 15,244
9 PouchDB 14,709
10 PostgreSQL 10,145
11 react-native-firebase 9,747
12 sql.js 9,741
13 MongoDB 9,296
14 WatermelonDB 8,046
15 Dexie.js 7,498
16 orbit-db 6,519
17 Objection.js 6,493
18 Bookshelf 6,260
19 Waterline 5,343
20 LevelUP 3,973
21 pg-promise 3,071
22 orm2 3,065
23 OmniDB 2,712
Find remote Database jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms