DEV Community

loading...

Discussion on: Refactoring node.js (Part 1)

Collapse
paulasantamaria profile image
Paula SantamarĂ­a Author

Thank you Evan! I've only use promisify with the fs module, but I'll try to find more examples so we can understand it in depth together.

Collapse
evanplaice profile image
Evan Plaice

Of course. I'm always excited to see someone dig deep into some more advanced topics.

Maybe this'll help

Here's promisify(exec):
github.com/vanillawc/fpm/blob/mast...

And w/ some other file operations:
github.com/vanillawc/fpm/blob/mast...

Thread Thread
paulasantamaria profile image