Skip to content

emptydev1/dynamicdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published