Wrappy

JSON →
library 1.0.2 ·javascript maintenance
verified May 27, 2026

Wrappy is a tiny, foundational utility for reliably wrapping callback functions in JavaScript. Its primary function is to ensure that a given callback is invoked at most once, which is crucial for preventing unexpected behavior in asynchronous operations where a callback might inadvertently be called multiple times. Currently stable at version 1.0.2, released in 2015, the package maintains an extremely low release cadence due to its minimal scope and high stability, with updates typically addressing only critical edge cases or compatibility. Wrappy is largely an internal dependency for many other npm packages (e.g., `once`, `inflight`) rather than a direct application-level utility, providing a robust and dependency-free solution for basic callback management.

total hits 14
actors 6 distinct systems
last hit 5d ago MJ12bot
GPTBot
5
MetaBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇴 Norway