JavaScript Database

Open-source JavaScript projects categorized as Database

Top 23 JavaScript Database Projects

  • sheetjs

    :green_book: SheetJS Community Edition -- Spreadsheet Data Toolkit

  • sequelize

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

    Latest mention: How to work with MySQL more like on array? (To update it easily, edit and so on) | | 2021-01-12

    You can write these yourself, or just use one that already exists - a popular option for Node is Sequelize:

  • mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

  • mysql

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

    Latest mention: How to connect javascript to mysql? | | 2021-01-14

    If you're using javascript on the back end in node you'll probably want a node module like mysql on npm. This will give you an api to connect to the database and execute queries. Their readme is very informative so I suggest starting there:

  • lowdb

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

    Latest mention: NPM package to create a super simple database? | | 2021-01-12

    lowdb MIGHT be a good choice. It stores everything in a JSON file and uses Lodash for querying. I have used on a couple of personal projects but it isn't very well maintained (over 100 issues). Personally I really like it! I would never use it in anything serious though lol

  • knex

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

    Latest mention: is there a way to call an object like it is a function? | | 2020-12-22

    To be called like a function, it must be a function. But because functions are objects, they can be treated as objects and given additional properties and methods etc. For knex to be callable, it must be a function.

  • gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Latest mention: Show HN: Stork: A customizable, WASM-powered full-text search plugin for the web | | 2020-12-27

    > Merkle Search Trees: Efficient State-Based CRDTs in Open Networks

    Browser-side "Blockchain Certificate Transparency" applications need to support at least exact key lookup by domain/SAN and then also by cert fingerprint value; but the whole CT chain with every cert issue and revocation event is impractically large in terms of disk space. may also be practically useful.

  • nedb

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

    Latest mention: NPM package to create a super simple database? | | 2021-01-12

    nedb is the package you are searching for. Just JS, same syntax as MongoDB, runs in RAM and can persist data on disk

  • node-postgres

    PostgreSQL client for node.js.

  • node-mongodb-native

    The Official MongoDB Node.js Driver

  • react-native-firebase

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

    Latest mention: Weekly Developer Roundup #16 - Sun Oct 04 2020 | | 2020-10-03

    invertase/react-native-firebase (JavaScript): 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.

  • sql.js

    A javascript library to run SQLite on the web.

  • WatermelonDB

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

    Latest mention: How is the transition from Android/Java to React native? | | 2021-01-15

    Let's say that you wan't a robust database experience similar to Room on Android - there is nothing like that built in RN so using native modules we've built WatermelonDB so you can see that native dev experience is gonna help you with making cross platform apps. Same thing with Native Alert Dialogs etc.

  • bookshelf

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

  • objection.js

    An SQL-friendly ORM for Node.js

  • waterline

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

  • levelup

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

  • node-orm2

    Object Relational Mapping

  • pg-promise

    PostgreSQL interface for Node.js

    Latest mention: How do I prevent SQL injection in this function? I am using pg-promise | | 2020-12-27

    I recommend using one of the other available escape sequences that pg-promise allows, e.g. $[], because with ${} if you accidentally or intentionally use a template string, values can be interpolated directly which isn't what you want. There's actually a warning about this at that link.

  • node-mssql

    Microsoft SQL Server client for Node.js

  • mongorito

    🍹 MongoDB ODM for Node.js apps based on Redux

  • keyv

    Simple key-value storage with support for multiple backends

  • nodejs-driver

    DataStax Node.js Driver for Apache Cassandra

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).