3 ms·you not need to use .mjs extension if you setup correctly package.jsonby Zardoz84 6y agoyou not need to use .mjs extension if you setup correctly package.jsonmschuetz 6y agoI don't want to setup a package.json for projects that don't need it.afavour 6y agoThen yeah, you’re out of luck. But the vast majority of Node modules use a package.json so I wouldn’t say Node is “really botching it”, they’re just doing what works for the vast majority of users.