to-callback
Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.
Activity
- Latest release
- 9y ago
- Total releases
- 6
- Cadence
- ~daily
- Last 12 months
- 0
Details
- License
- MIT
- First release
- Nov 03, 2016
Releases
| Version | Released | |
|---|---|---|
1.0.1
patch
| ||
1.0.0
major
| ||
0.3.1
patch
| ||
0.3.0
minor
| ||
0.2.0
minor
| ||
0.1.0
initial
|