Javascript – How to import an es module in Node without an extension
I've heard that when importing ES modules, you're supposed to include a file extension. However, I came across some Node projects that import ES modules without an extension, like in this example. I'm wondering how they do that.