good.db is a lightweight Node.js library for simple local database operations with JSON files. Organize, manage, and manipulate data easily.
OTHER License
Bot releases are visible (Hide)
AllTypes
type to improve type safety.cache
property in the MemoryDriver
class public for easier access.client
property in the MongoDBDriver
class is now public.pull
method for better performance with nested objects.all
method to handle different return types more accurately.npm install [email protected]
to update good.db.We encourage everyone to update to this new version. If you encounter any issues, please report them in the issue tracker. Thank you for your continued support!
Full Changelog: https://github.com/good-db/good.db/compare/2.4.3...2.4.4
Published by itsusif 5 months ago
find
function type from boolean
to any
. This change provides more flexibility and prevents type errors in certain scenarios.npm install [email protected]
to update good.db.We encourage everyone to update to this new version. If you encounter any issues, please report them in the issue tracker. Thank you for your continued support!
Published by itsusif 5 months ago
table
method has been updated for better performance and functionality.IAsyncType
and ISyncType
interfaces to enhance flexibility.all('array')
method for better clarity and consistency. Now returns // [ key: ..., value: ... ]
.Upgrade now to enjoy these fantastic new features and improvements!
For full details, check out the changelog.
Thank you for your continued support and feedback!
Published by itsusif 6 months ago
Published by itsusif 7 months ago
This release represents a significant step forward in the development of GoodDB, providing new features, improved performance, and enhanced stability. We encourage all users to upgrade to version 2.1.0 to take advantage of these improvements.
Published by itsusif 7 months ago
🚀 New Release: v2.0.0
We're thrilled to announce the release of version 2.0.0 of our GoodDB library! This major update brings several enhancements and new features to further improve your database experience.
import GoodDB, { MongoDBDriver } from 'good-db';
// Initialize GoodDB with MongoDB driver
const db = new GoodDB(new MongoDBDriver({
uri: 'mongodb://localhost:27017',
database: 'mydatabase'
}));
// Set data
await db.set('key', 'value');
// Get data
const data = await db.get('key');
console.log(data); // Output: 'value'
We value your feedback and contributions! If you encounter any issues, have suggestions for improvements, or would like to contribute to the project, please don't hesitate to open an issue or submit a pull request on GitHub.
A big thank you to all our contributors and users who have supported us in bringing this release to fruition. Your feedback and support are essential, and we're committed to continuing to improve and evolve GoodDB in future releases.
Happy coding!
Published by itsusif about 1 year ago
nestedEnabled
parameter was not functioning correctly in 'set', 'get' methods.Published by itsusif about 1 year ago
nestedEnabled
parameter was not functioning correctly in 'delete', 'delete' and 'pull' methods.Published by itsusif about 1 year ago
nestedEnabled
parameter was not functioning correctly in 'get' and 'set' methods.Published by itsusif about 1 year ago
Published by itsusif about 1 year ago
Note: This marks the final release of version 1.6. Version 2 is coming soon!
Published by itsusif about 1 year ago
db.all()
method. You can now fetch an array of key-value pairs or an array of all keys based on the specified type.Published by itsusif about 1 year ago
pull
method that caused issues when used without nested properties.We appreciate your continued support and contributions to this project!
Published by itsusif about 1 year ago
db.table
method to create instances with different tables.Published by itsusif about 1 year ago
Add table system & Creating and Using Snapshots.