Is Node really ‘hated’?
#408 — October 7, 2021
Node Weekly
Writing Clean JavaScript Tests with the BASIC Principles — An introduction to applying several key principles to shorten, clean, and simplify JavaScript and Node.js-based test suites.
Yoni Goldberg
Eleventy 1.0 Beta 1 Released — Eleventy (a.k.a. 11ty) is a very popular Node powered static site generator originally created as a JavaScript alternative to Ruby’s Jekyll.
Eleventy Team
Security-As-Code for Developers — Automate and embed cloud security throughout the entire development lifecycle with Bridgecrew’s all-in-one DevSecOps platform.
Bridgecrew sponsor
Web Streams Everywhere (and Fetch for Node.js) — A look at how most JavaScript platforms (including browsers) now have at least partial support for creating, composing, and consuming streams of data in a stream-like fashion, as well as how Node’s streams implementation differs and can interop with the modern Web Streams API approach.
Ollie Williams
❓ Ask HN: Why is Node.js ‘Hated’ So Much? — Ouch! Is it? Nonetheless, this question on Hacker News led to quite a lot of discussion with over 120 comments so far – many fair, some not. I try to remain philosophical on things like this and remember C++’s creator who said: “There are only two kinds of languages: the ones people complain about and the ones nobody uses.”
Hacker News
QUICK BITS:
There are a raft of October 2021 security releases of Node.js on the way to resolve two ‘medium severity’ security issues in the 12.x, 14.x, and 16.x lines.
The first beta of TypeScript 4.5 has been released. A big specific benefit is gaining ES module support for Node.
The latest installment of the What’s Up in the Node Community? video series from Red Hat has Michael Dawson and Stewart Addison talking about work on improving the process around ARM builds and testing.
Sending iOS Push Notifications via APNs — Need to iOS push notifications through APNs? Here’s a walkthrough of how to send push notifications with the help of a sample iOS app and a basic Node script.
Ritu Chaturvedi
Get Started with JavaScript and InfluxDB 2.0
InfluxData sponsor
▶ 13 Advanced (but Useful) Git Techniques and Shortcuts
Fireship
Polymorphism Without Objects via Multimethods
Yehonathan Sharvit
? Code & Tools
construct-js: A Library for Creating Byte Level Data Structures — If you ever need to get down to the level of manipulating bits and bytes to build things, you might find this example of creating a .zip file directly in Node compelling.
Frank Stokes
Leveldown: Pure C++ Node.js LevelDB Bindings — LevelDB is a fast key-value storage library built at Google that’s often used behind the scenes in other database systems (e.g. IndexedDB or Riak).
Level
Scale PostgreSQL & MySQL Globally, Without Writing Code
PolyScale.ai sponsor
Trash 8.0: Move Files and Directories to the ‘Trash’ — Rather than deleting files outright (e.g. unlink), this moves them to the ‘trashcan’ equivalent on Windows, Linux, and macOS. Now a pure ESM package.
Sindre Sorhus
kill-port: Kill the Process Running on a Given Port — For example, you could use npx kill-port 3000 to kill a local process listening on port 3000. For Unix and macOS it’s basically running lsof and kill behind the scenes, but it also supports Windows.
Tiaan
actions/github-script: Write Workflows Scripting the GitHub API in JavaScript
GitHub Actions
emoji-regex: A Regular Expression to Match All Emoji-Only Symbols
Mathias Bynens
linq.js 4.0: A LINQ Implementation for JavaScript
Mihai Ciuraru
fast-check: Property Based Testing Framework Written in TypeScript
Nicolas DUBIEN
Percolate: A CLI Tool to Turn Web Pages Into PDFs
Dan Burzo
? Jobs
Senior Backend Engineer (Austin or Remote) — Build performant, server-side rendered e-commerce storefronts and scalable Node APIs in TypeScript, alongside helpful & talented engineers like you.
Volusion
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired