Skip to content

coolstone-tech/dubnium

Repository files navigation

Dubnium

A powerful local database

Installation

npm i dubnium

API

Initialize

CommonJS

const Dubnium = require('dubnium')
const db = new Dubnium('dir','file extension')

ECMAScript

import Dubnium from 'dubnium'
const db = new Dubnium('dir','file extension')

Create Record

db.create('tag',data)

Delete Record

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

Modify

// Modify Record's data:
db.get('tag').edit(data)

// Modify Record's tag:
db.get('old_tag').setTag('new_tag')

More API methods can be found on our docs

Why use Dubnium?

Read about it here

Requirements

  • Node.js v14.0.0 or higher. Latest version is recommended.

Other info

Get more in-depth help from our docs, Discord, or ask a question on GitHub

Report feedback & bugs here

Like our work? Support us on Patreon