With a new look, IsaDB works in the same way, but supports new entries and maximizes its use even more!
Read the official documentation!
(Tested in node v18.18.2
)
npm install isadb
yarn add isadb
pnpm add isadb
bun add isadb
//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'))
}
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.
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
.