Preparing for system design interviews?  Try bugzed.com →

thunky

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

Delay the evaluation of a paramless async function and cache the result. Version 1.1.0 is stable with no active development. It provides a simple thunk pattern for lazy initialization, caching the result after the first successful invocation. Supports both callback and Promise (via `thunky/promise`) styles. Lightweight with zero dependencies. Differentiators: minimal API, error handling that prevents caching on failure, and compatibility with Node.js and browsers via bundlers.

total hits 30
actors 6 distinct systems
last hit 12d ago AhrefsBot
ByteDance
4
GPTBot
3
Amazonbot
3
Search engines
3
Humans
15

top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇫🇷 France · 🇧🇷 Brazil