Lorry v1.0.0 - Initial Release
Introducing Lorry v1.0.0, a new JavaScript class designed to manage key-value pair data.
Features:
- Merge Functionality: Deep merge of the instance with provided objects.
- Replace Method: Resets the instance and then merges it with provided objects.
- Reset Method: Clears all keys from the instance.
- Flash Method: Sets a flash message on the instance.
- Error Handling: Robust error handling through the
Throw()method, including defaults to a generic server error (code 500). - Verbose Logging: Optional verbose logging for method actions.
- Method Protection: Prevents overriding of class methods.
Usage:
This class is a powerful tool for managing key-value pairs, providing convenient methods for merging, replacing, resetting, and error handling. Whether you're handling configuration data, API responses, or other key-value based structures, Lorry provides a robust and versatile solution.
How to Install:
Please refer to the repository's README.md for instructions on how to install and integrate Lorry into your projects.
We appreciate your feedback and contributions to make Lorry even better. Happy coding!