node-wrappy

Callback wrapping utility
  https://github.com/npm/wrappy
  0
  no reviews



Returns a wrapper function that returns a wrapped callback The wrapper function should do some stuff, and return a presumably different callback function. This makes sure that own properties are retained, so that decorations and such are not lost along the way.

Node.js is an event-based server-side JavaScript engine.