require-esm-in-cjs

Enable `require( ESM / EcmaScript Module )` in CommonJS / CJS modules.

Browse on unpkg