@zenginlimited/database
v0.0.1
Published
An efficient, lightweight, performant, and type-safe database manager.
Maintainers
Readme
@zenginlimited/database
An efficient, lightweight, performant, and type-safe database manager.
Features
- Minimal and easy-to-use API
- Supports both standalone DataStores and Databases
- Fully modular and ES Module ready
- TypeScript type definitions included
- Tailored for Zengin services
Installation
npm install @zenginlimited/databaseUsage
import Database from "@zenginlimited/database";
const db = new Database('main');
const passkeys = db.createStore('passkeys');
passkeys.append({
attestation: '',
credential: ''
});Example without creating a Database:
import { DataStore } from "@zenginlimited/database";
const passkeys = new DataStore('passkeys');
passkeys.append({
attestation: '',
credential: ''
});License
GNU General Public License v2.0. See LICENCE for details.
