- I’m writing a CommonJS app to run in an old version of Node that lacks modules support, and I want to be able to `require` an ESM-only package. - Same as above, but in a future version of Node that has native modules support. I think the idea here is that somehow `require` can be polyfilled in old versions of Node to support importing ESM packages. Use case 10.
requirean ESM-only package.I think the idea here is that somehow
requirecan be polyfilled in old versions of Node to support importing ESM packages.Use case 10.