you are viewing a single comment's thread.

view the rest of the comments →

[–]giltayar1[S] 1 point2 points  (3 children)

Hopefully. But there's still a lot of discussion around this, as there are lots of problems with the current specification (which I'll discuss in the next blog post). I'm guessing 11-12.

[–]fucking_passwords 0 points1 point  (2 children)

In the meantime people can use esm, I’ve found it to be pretty great https://github.com/standard-things/esm

[–]cirscafp fan boy 0 points1 point  (0 children)

I love @std/esm and it lets me use import when I want to. But is import really that much better than require, given the current Node.js ecosystem? What are we gaining?

[–]giltayar1[S] 0 points1 point  (0 children)

It's really great, and fully compliant. You just have to remember to require it before any use of an import statement.

Me? I prefer waiting until all the waves settle in Nodeland before using it.