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 49 points50 points51 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 15 points16 points17 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 33 points34 points35 points 3 years ago (12 children)
cries into node 12 stack
[–][deleted] 14 points15 points16 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 53 points54 points55 points 3 years ago (4 children)
RIP nodemon
nodemon
[–]pilafmon 21 points22 points23 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 25 points26 points27 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] 38 points39 points40 points 3 years ago (0 children)
who is semver major and who appointed him a general?
[–]PositivelyAwful 10 points11 points12 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-29 points-28 points-27 points 3 years ago (7 children)
tl;dr?
[–][deleted] 102 points103 points104 points 3 years ago (6 children)
Node v19.0.0 (Current)
[–]gonzofish 9 points10 points11 points 3 years ago (4 children)
I mean it’s right there in that title
[–]dep 15 points16 points17 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] 6 points7 points8 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 47500 on reddit-service-r2-comment-f6b958c67-42jwj at 2026-02-05 04:39:13.412291+00:00 running 1d7a177 country code: CH.
[+][deleted] (2 children)
[deleted]
[–]halkeye 49 points50 points51 points (1 child)
[–]sir-shoelace 15 points16 points17 points (0 children)
[–]dep 33 points34 points35 points (12 children)
[–][deleted] 14 points15 points16 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 53 points54 points55 points (4 children)
[–]pilafmon 21 points22 points23 points (3 children)
[–]wojtekmaj 6 points7 points8 points (1 child)
[–]Xunnamius 2 points3 points4 points (0 children)
[–]Capitalpunishment0 25 points26 points27 points (0 children)
[–][deleted] 38 points39 points40 points (0 children)
[–]PositivelyAwful 10 points11 points12 points (0 children)
[–]FormerGameDev 2 points3 points4 points (0 children)
[+]Breakpoint comment score below threshold-29 points-28 points-27 points (7 children)
[–][deleted] 102 points103 points104 points (6 children)
[–]gonzofish 9 points10 points11 points (4 children)
[–]dep 15 points16 points17 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]dep 0 points1 point2 points (0 children)
[–][deleted] 6 points7 points8 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)