1 follower

Full-stack Developer. Crypto Enthusiast. Tabs over spaces.

Blog Author Picture

Subscribe to my newsletter and never miss my upcoming articles

Don't use util.promisify

Jul 6, 20211 min read

Many developers use util.promisify() without hesitation when they need to convert the callback method to a promise based method. But there is a catch. util.promisify() changes this context to golbalThis. So if the actual method is using this somewh...

Don't use util.promisify
Terminal Tricks and Shortcuts - Hidden Gems!
IPv6 Mask / Prefix Conversion