V
V
Vitaly2017-01-17 13:49:32
Node.js
Vitaly, 2017-01-17 13:49:32

Is there a promisified version of standard node.js modules?

fs, http and others, do not offer bluebird

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yustas Alexu, 2017-01-17
@vitali1995

https://www.npmjs.com/package/fs-promise
https://www.npmjs.com/package/http-promise
If you wish, you can easily write your own wrapper for any module.

I
Ivan, 2017-01-17
@LiguidCool

This is how you actually wrap the standard modules as you need. By and large, this is ' sugar' .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question