npm renatiin docs

Buy Me A Coffee

About

😎 IsaDB - Easy DB.

A new way for you to control your project data.


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


Compatibility:
  • EcmaScript
  • CommonJS
  • 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'

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 { Instance } = require('isadb')

function main() {
    const instance = new 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 understand 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.