CodeBrowser / npm / wrappy
wrappy@1.0.2
// Callback wrapping utility
$ npm install wrappy
downloads/wk
135,397,128
license
ISC
version
1.0.2
published
May 17, 2016
What is wrappy?
wrappy is a utility for wrapping callback functions with additional logic or error handling. Developers use it to add pre- or post-processing behavior to callbacks without modifying the original function, making it useful for debugging, timing, or applying consistent patterns across multiple callbacks.
Maintainers
isaacs