nodejs/node
View on GitHub ↗ ★ 123,195 JavaScript
Node.js JavaScript runtime ✨🐢🚀✨
482 mentions on Hacker News by 376 people: 171 stories, 311 comments · first 2014-11-28 · latest 2026-11-01
20082026
-
…is a place the server-side implementation is going to diverge and this was discussed in the PR: https://github.com/nodejs/node/pull/41749#issuecomment-10254...
comment by inglor · 2022-02-01 · in Fetch API has landed into Node.js -
…calling it fetch. Here is a comment I wrote about it in the tracker during the PR review process https://github.com/nodejs/node/pull/41749#issuecomment-10257... [1]( https://github.com/nodejs/node/pull/27979 )
comment by inglor · 2022-02-01 · in Fetch API has landed into Node.js -
…You can get it by building from master: ``` # there is more details in building.md git clone https://github.com/nodejs/node cd node # may need to pass --openssl-no-asm ./configure make -j12 ./out/Release/node --experimental-fetch ```…
comment by inglor · 2022-02-01 · in Fetch API has landed into Node.js -
…adding a bad API is vs. asking people for one more `npm install` :) There is more discussion in https://github.com/nodejs/node/issues/19393 and in https://docs.google.com/document/d/1tn_-0S_FG_sla81wFohi8Sc8... a discussion from 2018 we…
comment by inglor · 2022-02-01 · in Fetch API has landed into Node.js -
…Really curious to hear how other folks are doing local HTTPS/HTTP2 setups in node these days. [1] https://github.com/nodejs/node/issues/3159 [2] https://github.com/denoland/deno/pull/11491
comment by lewisl9029 · 2022-01-17 · in Some ways DNS can break -
…using node.getenv in hot sections of code and the resulting not understanding what's happening. https://github.com/nodejs/node/issues/3104 When you call out to the sys or libc things are going to happen and you should try and be aware of…
comment by virtue3 · 2022-01-02 · in Fixing stutters in Papers Please on Linux -
On Microsoft Github, in a repository such as https://github.com/nodejs/node press `.` (the full stop key) and it will take you away to github.dev, load Microsoft's VS Code in-browser to view and edit code with VS Code plugins and…
comment by jodrellblank · 2021-12-18 · in I can read C++ and Java but I can’t read Smalltalk (2000) [pdf] -
…written this is, but these are the most used libraries in the JS world by far margin: https://github.com/nodejs/node/tree/master/lib
comment by capableweb · 2021-10-25 · in To learn a new language, read its standard library -
…out the HTTP library they use turns the HTTP method into an enum, so only a subset is supported ( https://github.com/nodejs/node/blob/d798de1c653efa5ec0015d44... ). This restriction only exists in their HTTP/1 library, their HTTP/2 library…
comment by jaffathecake · 2021-10-15 · in How to win at CORS -
…spawn directly with these 216 lines [2]. I barely trust myself to reliably reproduce those. [1] https://github.com/nodejs/node/blob/df25424b9195d31224529895... [2] https://github.com/nodejs/node/blob/df25424b9195d31224529895...
comment by Normal_gaussian · 2021-08-08 · in ; Echo “Shell Injection” -
Like I said, is aligning more and more: * https://github.com/nodejs/node/issues/19393 * https://github.com/nodejs/node/issues/19308 Web APIs is not something that Deno is doing and Node isn’t. It is more something that Deno has done a few…
comment by runarberg · 2021-05-12 · in Deno 1.10 Release Notes -
Probably all tests, the `src` folder containing the core NodeJS code is at https://github.com/nodejs/node/tree/master/src . Also keep in mind it builds on top of V8, which is mostly C++: https://github.com/v8/v8 .
comment by Cthulhu_ · 2021-04-20 · in A curated list of JavaScript tooling not written in JavaScript -
…from the repo because the experimental implementation of quic was removed according to this issue: https://github.com/nodejs/node/pull/37067 Not sure when we can expect it to come back. You can just feel the pain in those comments. All…
comment by willhoyle · 2021-04-16 · in QUIC and HTTP/3 Support Now in Firefox Nightly and Beta -
…not sure why it’s included. - The first guess/suggestion, > I suspect the cause is right here: [ https://github.com/nodejs/node/blob/3b2863db12818778671713b5... ] > Instead of creating a new Buffer for each chunk, it could allocate a…
comment by minitech · 2021-03-04 · in fs.promises.readFile is 40% slower than fs.readFile -
…Maybe C++ is even doing the allocating. This is not easy code to grok in its full extent. 1 - https://github.com/nodejs/node/blob/master/lib/fs.js#L356 2 - https://github.com/nodejs/node/blob/master/lib/internal/fs/r... 3 -…
comment by wcarss · 2021-03-03 · in fs.promises.readFile is 40% slower than fs.readFile -
…is completely separate. I think this is where fs.promises.readFile reads the actual file https://github.com/nodejs/node/blob/master/lib/internal/fs/p... , with many layers of indirection before that fs.readFile is this one function:…
comment by Jarred · 2021-03-03 · in fs.promises.readFile is 40% slower than fs.readFile -
You still have bugs like this when you generate certs with an empty CommonName field, https://github.com/nodejs/node/issues/11771 . I have an app which has certificate checking turned off due to this bug, I hope they'll update the packaged…
comment by keeperofdakeys · 2021-02-19 · in TLS certificates specifying hosts via the CommonName field is more or less gone -
…- I've had PRs with features I didn't land because of this and I intend to investigate again e.g. https://github.com/nodejs/node/pull/35877
comment by inglor · 2021-02-15 · in Faster JavaScript Calls -
…of the GitHub interface? NodeJS use a bot that manually merges the commits but closes the PRs: https://github.com/nodejs/node/pull/36661
comment by kaedroho · 2021-01-02 · in Show HN: Check if a GitHub repo is open to contributions -
Top-scored projects: https://commondatastorage.googleapis.com/ossf-criticality-sc... For JS: node│https://github.com/nodejs/node│JavaScript│73│0│3226│10│64.7│63│1517│2055│4.1│1049988│0.98421 react-native│https://github.com/facebook/react-na…
comment by tmsh · 2020-12-12 · in Finding Critical Open Source Projects -
Here's a changelog instead of this weird blog post: https://github.com/nodejs/node/blob/master/doc/changelogs/CH...
comment by gpmcadam · 2020-10-23 · in Node.js 15.0 -
QUIC support has landed behind an experimental flag https://github.com/nodejs/node/issues/23064 As for HTTP/3 that’s a bit further down the line
comment by jayflux · 2020-10-21 · in The majority of Facebook's traffic now uses QUIC and HTTP/3 -
…HTTP3 support in the platform (also in this link, evidence that I may be biased in my priorities): https://github.com/nodejs/node/issues/23064
comment by rektide · 2020-09-26 · in Swift System Is Now Open Source -
…we had to pay a price with our time. This is hardly an exception, this is becoming in the norm. [1] https://github.com/nodejs/node/issues/32852
comment by neya · 2020-09-21 · in I no longer build software -
…recently removed in v12.17.0 (though the release notes still say ESM is an experimental feature) https://github.com/nodejs/node/releases/tag/v12.17.0
comment by colinr · 2020-08-06 · in Node Modules at War: Why CommonJS and ES Modules Can’t Get Along -
I second this, of course VS Code needed Electron which needs Node all ready for ARM https://github.com/nodejs/node/issues/25998#issuecomment-637... Also to note Edge is available on ARM. Very happy Surface Pro X user here.
comment by maxbaines · 2020-06-22 · in ARM Mac Impact on Intel -
…- https://nodejs.org/es/docs/guides/backpressuring-in-streams/ Official Docs on Stream API - https://github.com/nodejs/node/blob/master/doc/api/stream.md Note that HTTP server in NodeJS already implements it.
comment by truth_seeker · 2020-05-17 · in From Node to Deno -
…is correct for this analysis since it's the more common one, it does a lot of extra internal logic: https://github.com/nodejs/node/blob/v13.x/lib/internal/conso... Edit: I'm just curious and don't know how to even start testinng this, not…
comment by franciscop · 2020-01-04 · in Hello World -
This [0] one had a segfault in a JS test file. [0] https://github.com/nodejs/node/pull/22273#issuecomment-41588...
comment by shakna · 2019-12-19 · in Make CPython segfault in 5 lines of code -
Yes, even there. [0] [0] https://github.com/nodejs/node/pulls?utf8=%E2%9C%93&q=is%3Ap...
comment by shakna · 2019-12-19 · in Make CPython segfault in 5 lines of code -
…For example, this is an example of a particularly bad changelog which isn't sprinkled with emojis. https://github.com/nodejs/node/blob/v2.5.0/deps/npm/CHANGELO... Imagine trying to handle a production incident, going through such a…
comment by zorbash · 2019-11-22 · in Postwoman – a free alternative to Postman -
…use thread pools to do CPU-intensive tasks that would normally block the main thread. For example: https://github.com/nodejs/node/blob/master/src/node_crypto.c... I generally use that as an example when explaining to people why Node isn't…
comment by diek · 2019-09-19 · in The cost of parsing JSON -
…in the nodejs part. [2][3][4] I wouldn’t call that bashing out at it out of mere ignorance. [0]: https://github.com/nodejs/node/issues/23265#issuecomment-427... [1]: https://github.com/nodejs/node/issues/23265 [2]:…
comment by pcr910303 · 2019-07-28 · in MetaCall: Inter-language foreign function interface calls -
…not async, and blocks while it copies the page table. For processes with large RSS, this adds up. https://github.com/nodejs/node/issues/14917
comment by jorangreef · 2019-07-03 · in Finding the Four Month Bug: A Debugging Story (2015) -
…like arguing with our core maintainers about the duplication with http then maybe it will be added. https://github.com/nodejs/node/issues/19393
comment by snek · 2019-04-08 · in Request’s Past, Present and Future -
…in a threadpool. While it may be running C code, it will block the main thread while executing. See https://github.com/nodejs/node/issues/678 Perhaps the new worker threads may alleviate this, but I'm not sure (it's still an experimental…
comment by nwlieb · 2019-03-03 · in Case Study: Npm uses Rust for its CPU-bound bottlenecks [pdf] -
…but three characters in package.json isn't sufficient. You need to include the license text - eg https://github.com/nodejs/node/blob/master/LICENSE .
comment by insomniacity · 2018-12-28 · in Show HN: Open source JavaScript library to record and replay the web -
There are always breaking changes waiting to go in ( https://github.com/nodejs/node/labels/semver-major ). Often they’re edge cases or native extension things though. Although the choice on when is arbitrary timing, the major bump does…
comment by BillinghamJ · 2018-11-02 · in October Brings Node.js 10.x to LTS and Node.js 11 to Current -
…up and setInteval() wouldn't fire. The fix[1] was simply to change an int to an unsigned int. [1] https://github.com/nodejs/node/pull/22214/commits/3bb7fdfbbe...
comment by moefh · 2018-10-11 · in Node.js setInterval callback function unexpected halt -
Seems similar to this beauty: https://github.com/nodejs/node/issues/12115
comment by _pmf_ · 2018-10-11 · in Node.js setInterval callback function unexpected halt -
Here is the commit that fixes it: https://github.com/nodejs/node/pull/22214
comment by kryptiskt · 2018-10-11 · in Node.js setInterval callback function unexpected halt -
…unsigned ints, introduced in one of the Node 10.x versions. This is the pull request that fixes it: https://github.com/nodejs/node/pull/22214
comment by samspenc · 2018-10-11 · in Node.js setInterval callback function unexpected halt -
…you'll find inline in our source is documentation for other developers working on the source. [1]: https://github.com/nodejs/node/tree/master/doc/api
comment by snek · 2018-10-05 · in How I Judge the Quality of Documentation in 30 Seconds (2014) -
…hub.com/spencermountain/compromise/issues/117 [5] https://github.com/syl20bnr/spacemacs/pull/3484 [6] https://github.com/nodejs/node/issues/3721 [7] https://github.com/twolfson/sexy-bash-prompt/issues/56 [8]…
comment by Nadya · 2018-09-12 · in LOLWUT: a piece of art inside a database command -
…exploring what that would look like for Node.js? (If you do, feel free to reach me at my email in https://github.com/nodejs/node under benjamingr) I think it would be interesting - one solution could be a loader (ESM) that only lets you…
comment by inglor · 2018-07-12 · in ESLint compromised, may have stolen your credentials -
I think they're testing natively provided promise APIs with the fs module. https://github.com/nodejs/node/pull/18297 It's of course not a full promisification of every built in, but it looks like theyre at least trying it out.
comment by dvlsg · 2018-06-06 · in Things I Regret About Node.js [video] -
…a serious and ambitious PR implemeting proper (web-worker style) threading support in Node.js core. https://github.com/nodejs/node/pull/20876
comment by lf-non · 2018-05-24 · in ReasonML – React as first intended -
They are considering a conflict (which they don't feel would really affect anyone) as an option: https://github.com/nodejs/node/pull/20876#issuecomment-39091...
comment by mbrevda1 · 2018-05-22 · in Guy refuses to allow Node.js to use his 50 downloads p/week project name