The extension "mjs" is the default for AWS Lambda (Node18) and I also use it. I'm currently using Lizard with the extension "mjs" replaced with "js". It would be helpful if you can use mjs and cjs.
find . -type f -name "*.mjs" | sed "s/\.mjs$/\./"|xargs -I% mv %mjs %js
The extension "mjs" is the default for AWS Lambda (Node18) and I also use it. I'm currently using Lizard with the extension "mjs" replaced with "js". It would be helpful if you can use mjs and cjs.