Support also CommonJS
jfoclpf opened this issue · 2 comments
jfoclpf commented
Do you think it would be possible to accept also CommonJS?
const QuickLRU = require('quick-lru')
I can make the PR if it's ok for you.
We have a huge project that started with CommonJS; moving everything to ESM would be a big hassle, and node doesn't allow to combine both.
Thank you
jfoclpf commented
option --experimental-detect-module
is not yet available
in the meantime do you suggest any workaround?