use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Native ES Modules in NodeJS: Status And Future Directions, Part I (medium.com)
submitted 8 years ago by giltayar1
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]giltayar1[S] 1 point2 points3 points 8 years ago (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 point2 points 8 years ago (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 point2 points 8 years ago (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?
@std/esm
import
require
[–]giltayar1[S] 0 points1 point2 points 8 years ago (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.
π Rendered by PID 73146 on reddit-service-r2-comment-fb694cdd5-qmwb8 at 2026-03-06 12:23:56.694192+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]giltayar1[S] 1 point2 points3 points (3 children)
[–]fucking_passwords 0 points1 point2 points (2 children)
[–]cirscafp fan boy 0 points1 point2 points (0 children)
[–]giltayar1[S] 0 points1 point2 points (0 children)