Description:
"MabnaDB" is a powerful TypeScript library designed for seamless data storage, retrieval, and management. Drawing inspiration from the efficiency of some well-known offline databases, MabnaDB offers a developer-friendly experience for handling data in your applications. Whether you are building web, mobile, or server applications, MabnaDB simplifies the process of working with data, providing a robust and flexible storage solution.
Slogan: “Empower Your Data with MabnaDB – Effortless Storage, Seamless Retrieval.”
Installation:
npm install mabnadb
Simple Usage:
// src/example.ts
import MabnaDB from './MabnaDB';
const db = new MabnaDB();
db.put({ _id: '1', name: 'John' });
const result = db.get('1');
console.log(result);
Type | Description |
---|---|
MabnaDBDocument | Represents a database document with a mandatory _id field and optional attachments. |
MabnaDBAttachment | Represents an attachment associated with a document, consisting of a name and data. |
MabnaDBIndex | Represents an index on a specified field, with an optional unique flag. |
MabnaDBChangeEvent | Represents a change event with information about the operation and the affected document. |
MabnaDBTask | Represents a background task with an ID, type, status, and optional result. |
MabnaDBSettings | Contains settings for the database, including an optional debug mode. |
MabnaDBPlugin | Represents a plugin that can be applied to the database. |
Feature - Method | Description |
---|---|
Constructor | Represents a database document with a mandatory _id field and optional attachments. |
CRUD Operations | |
Indexing | |
Replication and Synchronization | |
Attachments | |
Map-Reduce Views | |
Database Information / getDatabaseInfo | |
Utility Methods | |
Event Handling |
This class serves as a foundation for an in-memory database with extensibility through plugins and various features for managing data, attachments, indexes, replication, and more.
#TypeScript_Database #Data_Storage #PouchDB_Alternative #NoSQL #Lightweight #Seamless_Integration #Developer_Friendly #Cross_Platform #TypeScript_Library #Web_Development #Mobile_Development #Server_Applications #Efficient_Data_Management #JSON_Documents