Hacker News new | ask | show | jobs
by eyelidlessness 1625 days ago
Node did make modules async (just ESM modules). They can’t/won’t make CJS async because their synchronous semantics are a guarantee they determined not to break well before ESM. If you want async modules, ESM is the solution for that.
1 comments

ESM will be the solution to that, when all the major toolchains catch up. I wouldn't sell this future short, but we aren't there yet either.
I agree but I think we’re there (if kicking a bit and screaming a bit).