Overview

We recommend you read the full docs, but this will get you started with the basics.

Initialize

You can initialize as many databases as you want

const Dubnium = require('dubnium') 
const db = new Dubnium('dirPath','ext', useConfig)

Make your first Record

db.create('tag', content)

Get a Record

db.get('tag')

Delete a Record

db.get('tag').delete()

Modify a Record

db.get('tag').setValue("key","new value")

For non-JSON, use overwrite()

Check out our full docs for more API methods and in-depth explanations.

Last updated