Last updated 2 years ago
const DataManager = require('dubnium') const db = new DataManager('dirPath','ext') /*db.dir() // if you want Dubnium to create a folder for you*/
const db = new (require("dubnium"))("./folder") /*db.dir() // if you want Dubnium to create a folder for you*/
You can initialize as many databases as you want
dirPath
The path to the directory to store Records.
String
ext
Custom file extension (Default: json)
json