Please open Telegram to view this post
VIEW IN TELEGRAM
๐ค6๐2
๐18๐ฅ6โค5๐ค2
๐ Honey, I Shrunk the npm Package!
Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a few alternatives and gives an update on efforts to modernize npmโs compression defaults.
JAMIE MAGEE
ASIDES:
- A variety of malicious 'typosquatting' packages on both npm and PyPI have been found to be stealing SSH keys from developers. Take care over what you're installing out there.
- ๐ข We recently mentioned a discussion around Node.js getting its own mascot. The discussion has continued with lots of new ideas thrown into the mix.
- Google Cloud SQL's Node.js connector is now generally available.
ยฉ๏ธNODE.JS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
โค3๐2๐ฅ2๐คฉ2
Please open Telegram to view this post
VIEW IN TELEGRAM
๐คฃ5๐3๐ฅ1
๐ค20๐คฃ9โค7๐6๐คฉ2๐ฅ1 1
Please open Telegram to view this post
VIEW IN TELEGRAM
๐คฃ56๐4โค2๐ฅ1๐คฉ1 1
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ค10๐4๐คฃ3
๐ค12๐11โค5๐คฉ5
๐ An Interactive Intro to CRDTs
Conflict-free replicated data types (the so-called CRDTs) provide a popular approach to replicate data across numerous clients and allow live collaboration between them without conflicts. This post really digs into what makes CRDTs tick well, complete with interactive examples.
JAKE LAZAROFF
๐Test Assertion Styles in JavaScript
Isaac, fundamental to the development of npm and the growth of Node, shares his thoughts on the two main approaches common in JavaScript testing APIs and which he prefers best.
ISAAC Z. SCHLUETER
๐ต TypeScript 5.3 beta has been released with improved support for import attributes, improved type narrowing in numerous situations, and inlay hints in VS Code can now jump you to the type's definition.
ยฉ๏ธJS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
๐3โค2๐ฅ2
Please open Telegram to view this post
VIEW IN TELEGRAM
๐9
๐11๐ค10โค2๐ฅ2
โค17๐คฃ11๐5๐ค5๐ฅ2
This media is not supported in your browser
VIEW IN TELEGRAM
A memory leak impacting fetch() is fixed
left: bun v1.0.4
right: bun v1.0.5
@jarredsumner
Please open Telegram to view this post
VIEW IN TELEGRAM
๐8๐คฃ6๐ฅ3๐คฉ3
๐19๐ค14โค9๐คฃ1
Please open Telegram to view this post
VIEW IN TELEGRAM
๐คฃ43โค6๐คฉ4๐ฅ2
Please open Telegram to view this post
VIEW IN TELEGRAM
๐5
What is the output?
Anonymous Quiz
41%
[1,2,3], [1,2,3]
15%
[1,2,3], undefined
31%
undefined, [1,2,3]
13%
Error, [1,2,3]
๐19๐ค10โค4
๐งต Tread-safe map structure for worker_threads.
https://github.com/nairihar/worker_map
A simple abstraction for Node.js worker_threads, allowing you to create and share a Map (hash table) between worker threads and the main process. This simplifies the process of managing shared data and communication between worker threads.
NAIRI
๐ฃ๏ธ Send this to the person you think is interested in Node.js multithreading!
https://github.com/nairihar/worker_map
A simple abstraction for Node.js worker_threads, allowing you to create and share a Map (hash table) between worker threads and the main process. This simplifies the process of managing shared data and communication between worker threads.
NAIRI
Please open Telegram to view this post
VIEW IN TELEGRAM
๐7โค5๐ฅ1๐คฉ1