ESM support
fabiospampinato opened this issue · comments
It'd be nice if this module supported ESM. The main thing that seems to require changing to me seems using the global __filename
, which is not defined under ESM mode in Node.
Nevermind I had forgotten that I can just import CommonJS stuff from ESM modules, so this works already! Awesome!