Setup

You can setup using with commonjs and ESM module

CommonJS example

const { Database } = require("esosdb");
const db = new Database({
    path: "./esosdb/db.json",//you can write the path of any file you want
    space: 2//it's about readability cf. **
})

Last updated