πŸŽ‰Introduction

triangle-exclamation

This package is meant to provide an easy way to create and use a database, all data is stored persistently, and comes with additional easy to use features.

Installation

npm install quick.db
circle-info

The SQLite driver is used by default. Alternatively, you can use the MySQL driver. If better-sqlite3 is installed to use the SQLite, there is no need to install promise-mysql

SQLite Driver installation

To use the SQLite driver. installing better-sqlite3 is necessary

npm install better-sqlite3

MySQL Driver installation

To use the MySQL driver. installing promise-mysql is necessary

npm install promise-mysql
const { QuickDB } = require('quick.db');
const db = new QuickDB(); // using default driver
circle-exclamation

What is Quick.db?

Quick.db is an easy-to-use database manager built with better-sqlite3. It's simple by design and perfect for smaller projects where you don't want to set up a separate database server or individuals who may be getting started with programming.

Example

All data in quick.db is stored persistently in a database. Here is an example of setting an object in the database, then fetching parts & the full object.

Last updated