JavaScript Database

Open-source JavaScript projects categorized as Database

Top 23 JavaScript Database Projects

  • GitHub repo SheetJS js-xlsx

    :green_book: SheetJS Community Edition -- Spreadsheet Data Toolkit

    Project mention: Ask HN: Would issue “bounties” make contributing to open source more appealing? | news.ycombinator.com | 2021-04-14

    We looked into doing this with our main open source project (https://github.com/sheetjs/sheetjs) years ago and ultimately decided against putting bounties for issues.

    Fixing small typos and other "menial tasks" can be funded, but for reasonably popular projects there are plenty of people who will do that work for the resume bump.

    That leaves non-trivial problems for bounties. Most of those issues are much deeper, requiring a significant time investment for development and testing. Once you are talking about X0 or X00 hours, a fair bounty starts crossing into the $Y0,000 range. At that scale you might as well just hire a full time person to do the work.

    What we found effective was paying experts in other areas to help with demos. For example, the SheetJS x Google Sheets demo (https://github.com/SheetJS/sheetjs/tree/master/demos/google-...) was written with the help of the author of the drive-db module. You will probably find lots of small projects unrelated to the open source issues that you could fund.

  • GitHub repo Sequelize

    An easy-to-use multi SQL dialect ORM tool for Node.js

    Project mention: AMA - Self taught web developer, started learning in 2008 | reddit.com/r/developersIndia | 2021-04-07

    Express.js is the primary web framework, almost everyone uses it. For database, you can try a query builder like knex.js and there's ORMs like Sequelize and TypeORM. But before this, you'd need to understand databases. I've worked with MySQL and PostgreSQL mainly, not much of an experience with NoSQL databases. For your API layers, you can check out GraphQL or a simple REST API using express. If it's super simple stuff, just make a JSON RPC.

  • GitHub repo Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

    Project mention: Build a simple REST API with Node, Express and MongoDB in 30 minutes. | dev.to | 2021-04-11

    npm i express mongoose it installs Express and Mongoose .

  • GitHub repo awesome-cheatsheets

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

    Project mention: Github repositories for Web Development via twitter Pratham. | reddit.com/r/webdev | 2021-03-15

    Awesome cheat-sheets for popular programming languages, frameworks and development tools

  • GitHub repo MySQL

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

    Project mention: Update on the malicious commits to PHP codebase | reddit.com/r/programming | 2021-04-07

    And if you wonder who else does this, well... For instance, the most popular mysql driver for NodeJs out there https://github.com/mysqljs/mysql#escaping-query-values still doesn't support prepared statements, and still does client-side character escaping.

  • GitHub repo Lowdb

    ⚡️ lowdb is a small local JSON database powered by Lodash (supports Node, Electron and the browser)

    Project mention: How do I make it write into a file? | reddit.com/r/learnjavascript | 2021-04-02

    It sounds like you might be trying to create something that already exists - https://github.com/typicode/lowdb

  • GitHub repo PouchDB

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

  • GitHub repo Knex

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

    Project mention: Generate TypeScript definitions from PostgreSQL | dev.to | 2021-04-14

    I've been enjoying using Knex.js database client for quite some time when implementing GraphQL API backends. One thing that it currently lucks though, is the ability to generate strongly typed (TypeScript) models from the actual database schema.

  • GitHub repo gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Project mention: GUN - An open source cybersecurity protocol for syncing decentralized graph data. Used by Internet Archive and Hackernoon. | reddit.com/r/programming | 2021-03-03
  • GitHub repo NeDB

    The JavaScript Database, for Node.js, nw.js, electron and the browser

    Project mention: NeDB – Embedded persistent or in memory database for JavaScript | news.ycombinator.com | 2021-01-30
  • GitHub repo PostgreSQL

    PostgreSQL client for node.js.

    Project mention: What is the best PostgreSQL library for Node.js / JavaScript? | reddit.com/r/learnjavascript | 2021-03-28

    Then you should look at https://www.npmjs.com/package/pg. If you want to write raw queries this will do the job for you !

  • GitHub repo 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: When i try to access firebase.database() in expo am getting this error what's wrong pls ? | reddit.com/r/reactnative | 2021-04-12

    After you get it properly installed & set up, the code is

  • GitHub repo MongoDB

    The Official MongoDB Node.js Driver

    Project mention: What is your current stack? | reddit.com/r/node | 2021-04-03

    How do you go to the database? Is Sequelize still alive? I heard TypeORM is cool now? Do you just go with knex the query builder or something DBMS-specific, such as mogodb client?

  • GitHub repo sql.js

    A javascript library to run SQLite on the web.

    Project mention: SQLite the only database you will ever need in most cases | news.ycombinator.com | 2021-04-15
  • GitHub repo WatermelonDB

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

    Project mention: React native apps with SQLITE | reddit.com/r/reactnative | 2021-03-27
  • GitHub repo Bookshelf

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

    Project mention: What do you think about ORMs? | reddit.com/r/node | 2021-01-18

    FYI Currently I use Knex with Bookshelf. Bookshelf is an ORM written by Knex author before TypeORM, Objection... existed. It's not maintained anymore but it works fine and is much better than Sequelize when I've tried.

  • GitHub repo Objection.js

    An SQL-friendly ORM for Node.js

    Project mention: Best DB solution with migrations, seeders, etc? TypeORM, Sequelize, or something else? | reddit.com/r/sveltejs | 2021-04-12

    Personally I hated Sequelize when I tried it a couple of years ago and used Objection instead.

  • GitHub repo orbit-db

    Peer-to-Peer Databases for the Decentralized Web

    Project mention: some thoughts and a few nano projects | reddit.com/r/nanocurrency | 2021-03-07

    One of my favorite projects in the space is OrbitDB/IPFS, though Nano is quickly rising to the top. You probably haven't heard about it even though it's been around since 2014 because there is no money to be made off it directly. As a developer evaluating various distributed protocols to use in distributed systems, Nano is just about the only cryptocurrency project that fits my requirements for Record: a distributed system for audio files. Just some food for thought.

  • GitHub repo Waterline

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

  • GitHub repo LevelUP

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

  • GitHub repo orm2

    Object Relational Mapping

  • GitHub repo pg-promise

    PostgreSQL interface for Node.js

    Project mention: Building a SaaS in one week: How I built OnlineOrNot (Next.js/React, Tailwind, GraphQL, TypeScript) | reddit.com/r/reactjs | 2021-03-08

    I just used pg-promise - it handles the connections for you, up to you to write the SQL.

  • GitHub repo postgres

    Postgres.js - The Fastest full featured PostgreSQL client for Node.js (by porsager)

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 2021-04-15.

Index

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

Project Stars
1 SheetJS js-xlsx 25,175
2 Sequelize 24,099
3 Mongoose 22,498
4 awesome-cheatsheets 18,221
5 MySQL 16,333
6 Lowdb 15,146
7 PouchDB 14,035
8 Knex 13,993
9 gun 12,780
10 NeDB 12,470
11 PostgreSQL 9,485
12 react-native-firebase 8,952
13 MongoDB 8,948
14 sql.js 8,327
15 WatermelonDB 7,426
16 Bookshelf 6,139
17 Objection.js 6,008
18 orbit-db 5,572
19 Waterline 5,280
20 LevelUP 3,868
21 orm2 3,047
22 pg-promise 2,868
23 postgres 1,984