Skip to content

v0.5.0 - Memoization Utility

Choose a tag to compare

@Zheruel Zheruel released this 04 Sep 15:35
· 55 commits to main since this release
cf1eb2d

What's New

Added

  • memoize - LRU cache wrapper for expensive string operations with configurable size and TTL
    • Configurable cache size (default: 100 entries)
    • Optional time-to-live (TTL) for cache entries
    • Support for multi-argument functions
    • Automatic cache eviction using LRU strategy

Installation

npm install [email protected]

Full Changelog

https://github.com/Zheruel/nano-string-utils/blob/main/CHANGELOG.md#050---2025-09-04