dynamicdb

2.0.15 • Public • Published

DynamicDB

npm version npm downloads license

A local database package that has support for SQLite and BSON.

Features

  • It has two types of data storage, SQLite and BSON.
  • Easy to use and returns responses quickly.
  • High performance and scalability.

Instalation

To install and use this dependency on your machine, run the following command in your terminal:

$ npm install dynamicdb

Basic usage

Using SQLite:

const db = require('dynamicdb').sqlite();

Using BSON:

const db = require('dynamicdb').bson();

_

// Saving a data
db.insert('person', { name: 'John Doe', age: 28 });

// Getting data
db.get('person.name') // John Doe
db.get('person.age') // 28

// Adding a value
db.add('person.age', 1) // 29

Note: If you want to see more examples, see the documentation for this project.

Documentation

To see all the documentation for this project and see basic examples of how to use it, just access the repository of GitHub.

Contribution guidelines

Contributions are always welcome! If you find a bug or would like to suggest a new feature, open an issue at GitHub. If you would like to contribute to this project, fork the repository and submit a pull request.

License

DynamicDB is licensed under the Apache License, version 2.0. See LICENSE for full license text.

Package Sidebar

Install

npm i dynamicdb

Weekly Downloads

3

Version

2.0.15

License

Apache-2.0

Unpacked Size

50.1 kB

Total Files

7

Last publish

Collaborators

  • emptyy