3 ms·
> due to other tools that will need to live with your app like log shipping, load balancers, DNS caches, firewalls, daemons, etc. some apps are just CLI tools.
by afiori 6y ago
> due to other tools that will need to live with your app like log shipping, load balancers, DNS caches, firewalls, daemons, etc.
some apps are just CLI tools.
Top-level await helps with the rigidity of the ES module systems[1]; I believe they can also be used with dynamics imports giving ES-modules and CommonJS similar expressivity
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top-level-await https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...