Overview

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

Install

Dubnium is available on npm or GitHub (requires Node.js) and is available for CommonJS and ECMAScript modules.

Download it from npm

We strongly recommend using npm.

npm i dubnium

Check out our npm page.

Or download it from GitHub

https://github.com/coolstone-tech/dubnium

Initialize

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

Make your first Record

db.create('tag', content)

Get a Record

db.get('tag')

Delete a Record

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

Modify a Record

This will overwrite your record with the content provided.

db.get('tag').edit("new_content")

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

Last updated