Quick Start
We recommend you read the full docs, but this will get you started with the basics.
Install
npm i dubniumInitialize
const db = new (require("dubnium"))("./folder",'custom file extension')
/*db.dir() // if you want Dubnium to create a folder for you*/Make your first Record
db.create('tag', data)Delete a Record
db.delete('tag')Modify a Record
db.setValue("tag","key","new value")For non-JSON, use db.overwrite()
db.setTag("old_tag","new_tag")Get Record
db.get('tag')db.getFromValue('key','value',onlyFirst)db.getAll(returnType)getFromValue is JSON only
Check out our full docs for more in-depth explanations and code
Last updated
Was this helpful?