I just want to list my local files! (custom node)

I’ve also read this last message from @jon but I hoped it would work even if is an ES module being a custom module