1.2.1 • Published 3 years ago

zokudb v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Zokuru Database

A project born out of boredom

💫 What is the function of this package?

This is a package that can help manage databases with local storage

❄️ How to use this package?

You need to import ZokuDB from this package

const { ZokuDB } = require("zokudb");

Now, let's setup your database

const database = new ZokuDB({
  dbFolder: "zokuru",
  dbName: "database",
  noBlankData: true,
  readable: true
});

dbFolder is the name of the folder to store your database files, and dbName is the name of the database file.

  • All options in ZokuDB class are optional

From the above example, I created a database with a folder named "zokuru", and a file named "database" This will create a new (or existing) database file with a directory ./zokuru/database.json

This package is more or less similar to quick.db, it also supports set, get, has, fetch, delete methods and so on.

☁️ Install this package

  • I don't know how to register this package to npm yet, let me know if you know how. ​ㅤㅤㅤㅤㅤ
$ npm i https://github.com/zokuru/database.git
1.2.1

3 years ago