Hello,
Is there any way to use ESM-only modules in my Serverless custom app?
I have seen a very old thread about this topic, but no further updates after this.
Also, how can it be that we are still unable to use node-internal modules after all these years?
Why can’t I use a simple const { Buffer } = require('node:buffer')
to work with buffers in my custom app?
Thanks, this is also my current solution. It is still annoying however that we have to use an additional package for this at all.
Do you also happen to have a solution to use ESM-only packages?
I wanted to use franc. Since it was an ESM only module I just had to find another option. Luckily, I found a better solution that were more accurate and reliable in the Azure Translator Service.