Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by Macha on Thursday August 06, 2020 @12:25PM
(#24072482)
Yes, someone cannot design a system to handle arbitrary libraries with the assumption.
A library author can provide cjs bindings to their library for as long as cjs remains relevant with the assumption that they won't use top level await.
A library author can provide cjs bindings to their library for as long as cjs remains relevant with the assumption that they won't use top level await.