A local database package that has support for SQLite and BSON.
- It has two types of data storage, SQLite and BSON.
- Easy to use and returns responses quickly.
- High performance and scalability.
To install and use this dependency on your machine, run the following command in your terminal:
$ npm install dynamicdb
const db = require('dynamicdb').sqlite();
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.
To see all the documentation for this project and see basic examples of how to use it, just access the repository of GitHub.
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.
DynamicDB is licensed under the Apache License, version 2.0. See LICENSE for full license text.