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
-
…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 -
…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 -
…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 -
…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
comment by cyberax · 2024-11-23 · in Playground Wisdom: Threads Beat Async/Await -
…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 -
▲ 1
All Node.js processes hang in uninterruptible deep sleep on Linux 6.6.58story by cmckn · 2024-11-21 · 1 comment
-
…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 -
…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 -
…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.
comment by webda2l · 2024-10-25 · in OpenFeature – a vendor-agnostic, community-driven API for feature flagging -
…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 -
▲ 2
ASLR (PIE) disabled in v12 Linux amd64 build from Node.js.org (2020)story by pabs3 · 2024-10-11 · 0 comments
-
…`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 -
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.…
comment by Fannon · 2024-09-26 · in ts-blank-space is a fast type-stripping compiler -
…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? -
Deno/bun support TS natively, and Node is also adding support. https://github.com/nodejs/node/pull/53725
comment by shepherdjerred · 2024-08-14 · in An approach to optimizing TypeScript type checking performance -
…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 -
…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…
comment by pas · 2024-07-26 · in Node.js adds experimental support for TypeScript -
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.
comment by silverwind · 2024-07-25 · in Node.js adds experimental support for TypeScript -
▲ 1,204
Node.js adds experimental support for TypeScriptstory by magnio · 2024-07-25 · 554 comments
-
▲ 6
Node.js v22.5.0 Post-Mortemstory by yagiznizipli · 2024-07-19 · 1 comment
-
▲ 6
Coming soon to Node.js – node:SQLite modulestory by microflash · 2024-07-15 · 2 comments
-
▲ 7
SQLite Integration Coming to Node.jsstory by spikey_sanju · 2024-07-07 · 1 comment
-
…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 -
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 -
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 -
▲ 20
Node 22.0.0 Just Releasedstory by lionix · 2024-04-24 · 0 comments
-
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 -
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 -
…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 -
https://github.com/nodejs/node/pull/51362
comment by BMSR · 2024-03-22 · in Ask HN: Anyone looking for contributors for their open source projects -
▲ 1
Support require()ing synchronous ESM graphsstory by ksbrooksjr · 2024-03-19 · 0 comments
-
…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 -
▲ 1
Node.js/node: util: add %C to ANSI transform for console.log()story by jcbhmr · 2024-03-05 · 0 comments
-
…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 -
▲ 1
Node.js: Use Biome as Formatterstory by fagnerbrack · 2024-01-24 · 0 comments
-
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 -
…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 -
…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
comment by DecoPerson · 2023-12-14 · in Building Node.js applications without dependencies -
The github issue: https://github.com/nodejs/node/pull/50253 Note that the person mixing java knowledge and C++ isn't Daniel Lemire.
comment by kristianp · 2023-12-07 · in For processing strings, streams in C++ can be slow -
…a destructive change. I will share this PR widely as arole model in open source contributions. [1] https://github.com/nodejs/node/pull/50288
comment by ewalk153 · 2023-12-07 · in For processing strings, streams in C++ can be slow -
▲ 12
Node.js/node at 99.9k GitHub Starsstory by vinnyglennon · 2023-12-05 · 13 comments
-
…> 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 -
▲ 4
Node.js v20.9.0 LTS 'Iron'story by skibz · 2023-10-24 · 0 comments
-
▲ 3
Node.js v21 released with stable fetch, WebStreams and morestory by joshmanders · 2023-10-17 · 0 comments
-
…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 -
…vs. Node's promise overhead. Also there is an issue in Node about performing the same optimization: https://github.com/nodejs/node/issues/46265
comment by stephen · 2023-10-09 · in The Performance Cost of Node.js and GraphQL -
▲ 2
PR tracking HTTP/3 support in Node.jsstory by keepamovin · 2023-10-05 · 0 comments
-
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 -
…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 -
▲ 1
WebSocket Client in Node.js Corestory by porsager · 2023-09-28 · 0 comments