2 ms·
Ah, this was exactly what I was going to ask, thanks! Promise tools looks great - do you know of any equivalents of promisify and promisifyAll? I use them a lot
by untog 11y ago
Ah, this was exactly what I was going to ask, thanks! Promise tools looks great - do you know of any equivalents of promisify and promisifyAll? I use them a lot with native libraries.
EDIT: to answer my own question, this looks like it'll do it:
https://github.com/pgaubatz/node-es6-promisify-all https://github.com/pgaubatz/node-es6-promisify-all
but it doesn't seem to be actively maintained.
- mofle 11y agoCheck out https://github.com/sindresorhus/pify https://github.com/sindresorhus/pify