Skip to content

renato425/isadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isadb-logo

😎 IsaDB - Easy DB.

A new way for you to control your project data.

npm renatiin docs

"Buy Me A Coffee"

About

With a new look, IsaDB works in the same way, but supports new entries and maximizes its use even more!

Read the official documentation!

Compatibility: Supports EcmaScript, CommonJS and TypeScript

Instalation & Example Usage

(Tested in node v18.18.2)

Install isadb

npm install isadb
yarn add isadb
pnpm add isadb
bun add isadb

Creating a instance and saving things

//using Ecma
import { Instance } from 'isadb'

async function main() {
    const instance = new Instance() // Create a new instance, you can change the name of the file inside this class.

    instance.set('foo', 'bar') // Save inside the instance file.
    console.log(instance.get('foo')) // Returns -> bar
}

//using CommonJS
const isaDB = require('isadb')

async function main() {
    const instance = new isaDB.Instance()

    instance.set('foo', 'bar')
    console.log(instance.get('foo'))
}

Contribuing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.

Check the repository if you'd like to submit a PR.

Help

If you don't undestand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to make a issue in GitHub. And if it's extremely serious, contact me on Discord - My username: renatiinofc.