TL;DR ObjectKV is a simple and lightweight in-memory key-value store with subscription capabilities. It allows you to store and retrieve data while notifying subscribed functions whenever the store is updated.
When it comes to managing data and state in your applications, you shouldn't have to dive into complex databases for simple tasks. That's where ObjectKV comes in – a lightweight key-value store that provides an elegant and user-friendly solution for managing data without the need for heavy database systems or state management libraries.
ObjectKV is designed to be a straightforward alternative to other state and data management tools, allowing you to store and retrieve key-value pairs effortlessly. It offers a minimalist API that is easy to understand and use, making it a great choice for developers who want a simple yet powerful solution for managing data.
Lightweight and Fast: ObjectKV is built with simplicity and performance in mind. It is a lightweight library that doesn't rely on external dependencies or complex infrastructure. As a result, it offers blazing-fast data access and manipulation.
Easy Integration: Integrating ObjectKV into your existing projects is a breeze. You can include the library by installing it via your preferred package manager. Its minimalistic design ensures a smooth integration process.
Simple API: ObjectKV provides a concise set of methods to interact with the store. You can easily set, get, delete, and clear values associated with keys, all with just a few lines of code. The intuitive API reduces complexity and improves developer productivity.
Subscription Mechanism: ObjectKV includes a subscription feature that allows you to subscribe to changes in the store. By registering a callback function, you can automatically receive updates whenever the store is modified. This simplifies the process of reacting to changes and enables you to build responsive applications.
Here's an example of how you can use ObjectKV to manage data:
With ObjectKV, you can handle basic data management tasks efficiently without the need for other complex tools. It empowers you to focus on your application's logic and functionality, allowing for faster development cycles and easier maintenance.
Whether you're building a small personal project or a larger application, ObjectKV offers a viable alternative to traditional state and data management tools for simple data storage and retrieval.
So why complicate things when you can simplify your data management with ObjectKV? Give it a try and experience the power of a lightweight key-value store library.
Oh and feel free to open issues and pull requests if you need a feature or find a bug. Contributions are always welcome!