node-run-async

Run function synchronously or asynchronously
  https://github.com/sboudrias/run-async
  0
  no reviews



Node.js module to run a function either synchronously or asynchronously using a series of common patterns. This is useful for library author accepting sync or async functions as parameter. runAsync will always run them as an async method, and normalize the multiple signature.

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