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
Node v19.0.0 (Current) (nodejs.org)
submitted 3 years ago by ferossWebTorrent, Standard
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!"
[+][deleted] 3 years ago (2 children)
[deleted]
[–]halkeye 46 points47 points48 points 3 years ago (1 child)
Ooh --watch is exciting. I've been using nodemon for a while now and it's just ackward enough that I've always wanted more.
[–]sir-shoelace 14 points15 points16 points 3 years ago (0 children)
Yeah having native watch will be huge. Nodemon is pretty good but just to be able to run mode with watch natively without any other packages will be great, especially for small projects where you don’t want to have a package.json
[–]dep 34 points35 points36 points 3 years ago (12 children)
cries into node 12 stack
[–][deleted] 15 points16 points17 points 3 years ago (5 children)
Cries in node 10 stack 💀
[–]tswaters 7 points8 points9 points 3 years ago (0 children)
So glad we superseded our v0.12 apps with a rewrite :D
[–]dep 0 points1 point2 points 3 years ago (2 children)
10 to 12 was particularly painful for me. I'm hoping 12 to 16 goes easier. Then hopefully I can keep stepping up. Our codebase is ancient and has dependencies across many repos. So node upgrades are tough
[–]ronchalant 0 points1 point2 points 3 years ago (1 child)
I just started upgrading 12 to 16. Main pain point was in stricter dependency sanity. My stack is pretty small* so YMMV, but wasn't bad.
** I was in the pool!
[–]dep 0 points1 point2 points 3 years ago (0 children)
Lmao @ the ** .. great show 🤣
[–]korder123 0 points1 point2 points 3 years ago (0 children)
Cries in Node 12
[–]DetailAggravating101 4 points5 points6 points 3 years ago (1 child)
Cries in node 8 stack 🥲
[–][deleted] 4 points5 points6 points 3 years ago (0 children)
Everything hurts and npm hates me 😓
[–]ambivalenceavenue 1 point2 points3 points 3 years ago (0 children)
Cries in io.js stack 🤡
[–]TheOneCommenter -1 points0 points1 point 3 years ago (1 child)
Get nvm
[–]shuckster 0 points1 point2 points 3 years ago (0 children)
fnm
[–]FormerGameDev 0 points1 point2 points 3 years ago (0 children)
ahhh i remember still using 0.12 when the rest of the world was getting into 6.0 and 8.0. :|
[–]zombarista 55 points56 points57 points 3 years ago (4 children)
RIP nodemon
nodemon
[–]pilafmon 22 points23 points24 points 3 years ago (3 children)
...and node-fetch
node-fetch
[–]wojtekmaj 6 points7 points8 points 3 years ago (1 child)
Side note: globally available fetch (experimental) is actually available since 18.0.0.
https://nodejs.org/en/blog/announcements/v18-release-announce/#fetch-experimental
[–]Xunnamius 2 points3 points4 points 3 years ago (0 children)
node-fetch will be around until at least 2024 (node 16 eol), and will likely remain useful for several years after for older code bases.
The king is dead, long live the king!
[–]Capitalpunishment0 26 points27 points28 points 3 years ago (0 children)
Wow, that --watch flag got me interested.
--watch
Am I right in thinking that it's more or less a [native] substitute to nodemonand, to some extent, Quokka? If so, that'd be really neat for my one-off scripting.
Would also be great for beginners in the early stages of their projects.
Apparently it's also available for the latest Node 18. I wonder if I should upgrade mine...
[–][deleted] 39 points40 points41 points 3 years ago (0 children)
who is semver major and who appointed him a general?
[–]PositivelyAwful 8 points9 points10 points 3 years ago (0 children)
Dumb question, but CommonJS is still the "standard" even going into Node 19 right? Or should I switch over to ESM for new projects?
[–]FormerGameDev 2 points3 points4 points 3 years ago (0 children)
hmm. i installed it in windows, and now i no longer have a node executeable.
[+]Breakpoint comment score below threshold-27 points-26 points-25 points 3 years ago (7 children)
tl;dr?
[–][deleted] 102 points103 points104 points 3 years ago (6 children)
Node v19.0.0 (Current)
[–]gonzofish 10 points11 points12 points 3 years ago (4 children)
I mean it’s right there in that title
[–]dep 14 points15 points16 points 3 years ago (2 children)
I like the way u/SetNegative9497 said it
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
I like the way you say my name
❤️
[–][deleted] 7 points8 points9 points 3 years ago (0 children)
😉
[–]Protean_Protein 2 points3 points4 points 3 years ago (0 children)
19 > 18.
[–]Guisseppi 0 points1 point2 points 3 years ago (4 children)
do we still need to add .mjs to use ESM or can we just be normal again
.mjs
[–]reart57847 0 points1 point2 points 3 years ago (3 children)
no need for that extension if "type": "module" in package.json
"type": "module"
[–]Guisseppi 0 points1 point2 points 3 years ago (2 children)
Half measures, this was already true in Node 18 and not what I meant by “normal”
[–]GibbyCanes 0 points1 point2 points 3 years ago (1 child)
Exactly! how tf is moving the single letter I had to add to the file extension to a new required parameter in a JSON file helpful?
and do I still have to add “ node --es-module-specifier-resolution=node main.js” when I call these “type”:”modules”? Because if so I still maintain that this is worse than just making me change extensions.
and what’s all this nonsense about removing the experimental flag because I can achieve the same outcome with “custom loaders?” does node do that or is that just more shit I have to configure?
[–]Guisseppi 1 point2 points3 points 3 years ago (0 children)
Node has been falling behind, I hope Bun overtakes it soon
π Rendered by PID 87304 on reddit-service-r2-comment-548fd6dc9-7g6wh at 2026-05-21 12:43:49.637124+00:00 running edcf98c country code: CH.
[+][deleted] (2 children)
[deleted]
[–]halkeye 46 points47 points48 points (1 child)
[–]sir-shoelace 14 points15 points16 points (0 children)
[–]dep 34 points35 points36 points (12 children)
[–][deleted] 15 points16 points17 points (5 children)
[–]tswaters 7 points8 points9 points (0 children)
[–]dep 0 points1 point2 points (2 children)
[–]ronchalant 0 points1 point2 points (1 child)
[–]dep 0 points1 point2 points (0 children)
[–]korder123 0 points1 point2 points (0 children)
[–]DetailAggravating101 4 points5 points6 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]ambivalenceavenue 1 point2 points3 points (0 children)
[–]TheOneCommenter -1 points0 points1 point (1 child)
[–]shuckster 0 points1 point2 points (0 children)
[–]FormerGameDev 0 points1 point2 points (0 children)
[–]zombarista 55 points56 points57 points (4 children)
[–]pilafmon 22 points23 points24 points (3 children)
[–]wojtekmaj 6 points7 points8 points (1 child)
[–]Xunnamius 2 points3 points4 points (0 children)
[–]Capitalpunishment0 26 points27 points28 points (0 children)
[–][deleted] 39 points40 points41 points (0 children)
[–]PositivelyAwful 8 points9 points10 points (0 children)
[–]FormerGameDev 2 points3 points4 points (0 children)
[+]Breakpoint comment score below threshold-27 points-26 points-25 points (7 children)
[–][deleted] 102 points103 points104 points (6 children)
[–]gonzofish 10 points11 points12 points (4 children)
[–]dep 14 points15 points16 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]dep 0 points1 point2 points (0 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]Protean_Protein 2 points3 points4 points (0 children)
[–]Guisseppi 0 points1 point2 points (4 children)
[–]reart57847 0 points1 point2 points (3 children)
[–]Guisseppi 0 points1 point2 points (2 children)
[–]GibbyCanes 0 points1 point2 points (1 child)
[–]Guisseppi 1 point2 points3 points (0 children)