1.0.9 • Published 1 year ago

kanna.db v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Kanna.db Package:

Kanna.db is a simple package for managing JSON databases in Node.js in an easy and straightforward manner.

Installation

npm install kanna.db

Usage:

const database = require('kanna.db');

// Set a value for a specific key
database.set('key', 'value');

// Retrieve the value of a specific key
const value = database.get('key');
console.log(value); // This will print 'value'

// Check if a specific key exists
const exists = database.has('key');
console.log(exists); // This will print true

// Retrieve all data
const allData = database.fetchAll();
console.log(allData); // This will print all data in the database

// Remove a specific key
database.remove('key');

// Create a backup of the database
database.backup('backup');

Support:

If you have any questions or concerns, you can dm the owners in Support Server.

License:

This package is released under the MIT License.

1.0.9

1 year ago

1.0.8

1 year ago