Hacker GitHub

← All repos

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

Mentions per year 482 mentions · busiest year 2015 (96)
20082026
  1. …mocking as of today. I switched to Vitest because Jest was giving me flaky coverage results: https://github.com/nodejs/node/issues/51251 And while Vitest' coverage is stable, I had to add an indirection layer to change how I mock out calls…
    comment by OptionOfT · 2024-11-26 · in Vitest vs. Jest
  2. …would've used it (perhaps using `y.finally()`) which would have solved the memory leak. [1] https://github.com/nodejs/node/issues/17469#issuecomment-349...
    comment by throwitaway1123 · 2024-11-23 · in Playground Wisdom: Threads Beat Async/Await
  3. …like to see TC39 standardize this [3]. [1] https://issues.chromium.org/issues/42213031#comment5 [2] https://github.com/nodejs/node/issues/17469#issuecomment-349... [3] https://github.com/cefn/watchable/tree/main/packages/unpromi...
    comment by throwitaway1123 · 2024-11-23 · in Playground Wisdom: Threads Beat Async/Await
  4. …if a promise never gets resolved, it will stick around forever. It's braindead, but it's the spec: https://github.com/nodejs/node/issues/17469
  5. …practically requires a 3rd party HTTP client. Or Java that doesn't even have JSON support. [1] https://github.com/nodejs/node/tree/main/lib
    comment by paulddraper · 2024-11-22 · in The tragedy of running an old Node project
  6. ▲ 1
    All Node.js processes hang in uninterruptible deep sleep on Linux 6.6.58
    story by cmckn · 2024-11-21 · 1 comment
  7. …wrong. It absolutely is a thing and it has been in your browser and Node for longer than a year. https://github.com/nodejs/node/pull/48518 https://github.com/tc39/proposal-explicit-resource-managemen...
    comment by sureIy · 2024-11-18 · in Web Locks API
  8. …418 status code from different languages and implementations because it wasn't technically correct. https://github.com/nodejs/node/issues/14644 https://github.com/golang/go/issues/21326 And someone even ended up making a website…
    comment by 0x00cl · 2024-10-28 · in 418 I’m a teapot
  9. …work to get everybody on the same page (About my previous example, it's not well engaged by example https://github.com/nodejs/node/issues/55419 ), but when done and right done, it's a huge win for developers. PHP PSR, RFC & co are the way.
  10. …Which tells me literally nothing about this "notable change", unless I go to the pull request: https://github.com/nodejs/node/pull/52535 > module: implement NODE_COMPILE_CACHE for automatic on-disk code caching #52535 Which still doesn't…
    comment by shortrounddev2 · 2024-10-16 · in Node.js – v23.0.0
  11. ▲ 2
    ASLR (PIE) disabled in v12 Linux amd64 build from Node.js.org (2020)
    story by pabs3 · 2024-10-11 · 0 comments
  12. …`select` statement. Turns out that in JS it is actually useless because it LEAKS MEMORY BY DESIGN: https://github.com/nodejs/node/issues/17469 Back to the article. It uses pre-generics Go. In more modern Go, you can use something like Conc…
    comment by cyberax · 2024-10-04 · in Go Concurrency vs. RxJS
  13. At least Node.js has added experimental support that seems to do that: https://github.com/nodejs/node/pull/53725 But this is just an on-the-fly transpile(natively supported). It would be much better if JavaScript would go the Python route.…
  14. …Kubernetes when Node 20 had enabled it by default. They scrambled and turned it off by default in https://github.com/nodejs/node/commit/686da19abb
    comment by watt · 2024-09-24 · in What Is Io_uring?
  15. Deno/bun support TS natively, and Node is also adding support. https://github.com/nodejs/node/pull/53725
  16. …Node has been slowly working along towards QUIC support. I dunno where Go is. https://github.com/nodejs/node/pull/53256
    comment by jauntywundrkind · 2024-08-06 · in Y'all are sleeping on HTTP/3
  17. …code to enforce correctness That seems to be the goal and intent (from TS and Node team too https://github.com/nodejs/node/pull/53725#issuecomment-22301... ) > Will it transform esm import syntax into require statements? IIUC no see the…
  18. Namespaces are also not supported as per https://github.com/nodejs/node/blob/main/doc/api/typescript.... . I for one can can live without all these features and will be banning via eslint.
  19. ▲ 1,204
    Node.js adds experimental support for TypeScript
    story by magnio · 2024-07-25 · 554 comments
  20. ▲ 6
    Node.js v22.5.0 Post-Mortem
    story by yagiznizipli · 2024-07-19 · 1 comment
  21. ▲ 6
    Coming soon to Node.js – node:SQLite module
    story by microflash · 2024-07-15 · 2 comments
  22. ▲ 7
    SQLite Integration Coming to Node.js
    story by spikey_sanju · 2024-07-07 · 1 comment
  23. …it to be the js API for quic. Still a rung down from http/3 but happy seeing things inching along. https://github.com/nodejs/node/pull/52628
    comment by jauntywundrkind · 2024-05-16 · in JEP Draft: Support HTTP/3 in the HttpClient
  24. Nodejs enabled TCP_NODELAY by default in 2022 v.18. PR: https://github.com/nodejs/node/pull/42163 Changelog entry: https://github.com/nodejs/node/blob/main/doc/changelogs/CHAN...
    comment by Sammi · 2024-05-10 · in It's always TCP_NODELAY
  25. Since 2022 v.18. PR: https://github.com/nodejs/node/pull/42163 Changelog entry: https://github.com/nodejs/node/blob/main/doc/changelogs/CHAN...
    comment by Sammi · 2024-05-10 · in It's always TCP_NODELAY
  26. ▲ 20
    Node 22.0.0 Just Released
    story by lionix · 2024-04-24 · 0 comments
  27. Failed the macos test run: https://github.com/nodejs/node/actions/runs/8765543251/job/2...
    comment by turtleyacht · 2024-04-20 · in Node.js Task Runner
  28. i'm pretty sure node.js does not enable v8 sandboxing by default. https://github.com/nodejs/node/blob/main/deps/v8/BUILD.gn#L3...
    comment by billywhizz · 2024-04-05 · in The V8 Sandbox
  29. …create a Worker with the worker_threads module, Node spawns a new V8 isolate in the same process: https://github.com/nodejs/node/blob/v20.12.1/src/node_worker... It’s much more isolation than C threads – the entry point for a thread is a…
    comment by silverlyra · 2024-04-05 · in The V8 Sandbox
  30. https://github.com/nodejs/node/pull/51362
  31. ▲ 1
    Support require()ing synchronous ESM graphs
    story by ksbrooksjr · 2024-03-19 · 0 comments
  32. …been the first release to ship with at least NPM 7 [2] EDIT: Node 16.0.0 shipped with NPM 7.8.0 https://github.com/nodejs/node/blob/main/doc/changelogs/CHAN... EDIT 2: A StackOverflow confirming NPM 5 behaved the way you remember:…
    comment by rezonant · 2024-03-17 · in A JavaScript Nightmare
  33. ▲ 1
    Node.js/node: util: add %C to ANSI transform for console.log()
    story by jcbhmr · 2024-03-05 · 0 comments
  34. …blink: https://source.chromium.org/chromium/chromium/src/+/main:thi... And maybe here for Node.js: https://github.com/nodejs/node/blob/8a41d9b636be86350cd32847... To note that "filesystem" API also exist in web world:…
    comment by OscarDC · 2024-02-06 · in Deno in 2023
  35. ▲ 1
    Node.js: Use Biome as Formatter
    story by fagnerbrack · 2024-01-24 · 0 comments
  36. I worked on that Node.js issue. If you can share a repro, I'd love to take a look: https://github.com/nodejs/node/issues/new?assignees=&labels=...
    comment by kvakil · 2024-01-21 · in The Bun Shell
  37. …me about Node was how slow the default way to shelling out (child_process) could be (probably https://github.com/nodejs/node/issues/14917 ). Although according to the linked issue, it has been "fixed", I still ran into a problem during a…
    comment by qazxcvbnm · 2024-01-21 · in The Bun Shell
  38. …could achieve a lot, though it definitely wouldn’t be worth it. No developer is an island. [1] [0] https://github.com/nodejs/node/tree/main/lib/internal [1] https://youtu.be/TY9xsT6S75A?si=uqPUuxKNl_1vqMhm
  39. The github issue: https://github.com/nodejs/node/pull/50253 Note that the person mixing java knowledge and C++ isn't Daniel Lemire.
  40. …a destructive change. I will share this PR widely as arole model in open source contributions. [1] https://github.com/nodejs/node/pull/50288
  41. ▲ 12
    Node.js/node at 99.9k GitHub Stars
    story by vinnyglennon · 2023-12-05 · 13 comments
  42. …> ArrayBuffer { [Uint8Contents]: <2f 00 00 00 00 00 00 00 de ad be ef 00 > .... [1] https://github.com/nodejs/node/issues/41588#issuecomment-101...
    comment by kklisura · 2023-10-24 · in Goodbye, Node.js Buffer
  43. ▲ 4
    Node.js v20.9.0 LTS 'Iron'
    story by skibz · 2023-10-24 · 0 comments
  44. ▲ 3
    Node.js v21 released with stable fetch, WebStreams and more
    story by joshmanders · 2023-10-17 · 0 comments
  45. …nghttp2 Security Release (High) https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4448... https://github.com/nodejs/node/pull/50121/files > /* Stream reset rate limiter. If receiving excessive amount of stream resets, GOAWAY will be…
    comment by MuffinFlavored · 2023-10-15 · in Node.js – v20.8.1
  46. …vs. Node's promise overhead. Also there is an issue in Node about performing the same optimization: https://github.com/nodejs/node/issues/46265
  47. ▲ 2
    PR tracking HTTP/3 support in Node.js
    story by keepamovin · 2023-10-05 · 0 comments
  48. There is already a PR on the way to fix the performance regression with what Jest s doing https://github.com/nodejs/node/pull/49950 Note we also ship a test runner ourselves pretty recently and it may suit your needs.
    comment by inglor · 2023-09-29 · in Node.js – v20.8.0
  49. …solve memory issues with jest, but Simen Bekkhus already posted that it's still an issue... ( https://github.com/nodejs/node/issues/35375#issuecomment-174... )
    comment by derN3rd · 2023-09-29 · in Node.js – v20.8.0
  50. ▲ 1
    WebSocket Client in Node.js Core
    story by porsager · 2023-09-28 · 0 comments