DEV Community

Discussion on: Refactoring node.js (Part 1)

Collapse
 
evanplaice profile image
Evan Plaice

Awesome article đź‘Ť

Can you write more content on async + promisify? I feel like these are both super valuable topics that are also not talked about nearly enough.

Collapse
 
paulasantamaria profile image
Paula SantamarĂ­a

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
Paula SantamarĂ­a

Awesome, thanks!