jsecs (npm): Make a callback- or promise-based function support both promises and callbacks.
Keywords: callback|native|promise|callbacks|js|nodejs|promises