global-cache
JSON →A tiny utility (v1.2.1, stable) that attaches a cache to the global object (window/global/self) using the most discreet method available: Symbols, a non-identifier string key, and non-enumerable property descriptors. Unlike typical global singletons, it minimizes discoverability and collides with other code. Keys must be strings or symbols. No dependencies, ESM and CJS support. Ideal for internal module state sharing across environments.
Traffic · last 30 days stale · no recent hits
total hits 15
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · JO
Resources
packageglobal-cache ↗