1.0.0-alpha.1 • Published 2 months ago

cache-decorators v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

WARNING (Alpha)

Cache Decorators (Alpha)

Cache Decorators is a lightweight TypeScript library that provides decorators for caching function results, seamlessly integrating with various caching implementations. It offers decorators for caching, invalidating cache entries, and removing cache entries based on predefined conditions. With Cache Decorators, you can easily enhance the performance of your applications by caching expensive function calls, reducing response times, and optimizing resource utilization.

Key Features

  • Decorator-based Approach: Easily apply caching logic to your functions using simple decorators.
  • Flexible Caching Strategies: Support for various caching strategies, including cache invalidation and cache removal.
  • Adapter Pattern: Implement different caching solutions and seamlessly switch between them using adapters.
  • Clean and Extendable: Well-structured codebase allowing for easy maintenance, extension, and customization.
  • TypeScript Support: Written in TypeScript for enhanced type safety and developer experience.

Installation

You can install Cache Decorators via npm:

npm install cache-decorators
1.0.0-alpha.1

2 months ago

1.0.0-beta.1

2 months ago