#​456 — September 29, 2022

Read on the Web

“Don’t Worry, Nobody is Replacing Node.js” — A bold assertion. Fernando reflects on the growing interest in alternative runtimes like Deno and Bun, but notes none really replace Node.js wholesale in the near future. And even if they did, most of your Node skills would transfer across anyway.

Fernando Doglio

Node v18.10.0 (Current) Released

The http module can now insist upon Content-Length’s value matching the response body length (previously this was not checked).

stream has added ReadableByteStream.tee()

Developments around using libnode for embedding Node into iOS apps.

Rafael Gonzaga

Take a Tour of JavaScript & React Patterns — Join Lydia Hallie for the video course covering design patterns you can use to improve the code architecture of your web apps. Learn traditional JavaScript design patterns, React patterns, performance, and reading patterns.

Frontend Masters sponsor

Writing Composable SQL using JavaScript — There are a lot of approaches to working with SQL databases and the author prefers plain SQL and Slonik (to be fair, he built Slonik, but we agree with him). If you prefer something more abstracted, of course, you can use things like Knex.js.

Gajus Kuizinas

The September 23rd 2022 Security Releases — Node 14.20.1 (LTS), 16.17.1 (LTS), and 18.9.1 (Current) dropped to resolve some vulnerabilities:

A DNS rebinding protection issue on macOS.
HTTP Request Smuggling via multi-line Transfer-Encoding headers.
Potential weak randomness in WebCrypto keygen.
And, curiously, an old io.js related hangover..

Node.js

IN BRIEF:

AWS App Runner now offers a Node.js v16 managed runtime. App Runner (homepage) is a managed service that takes your code and gets it running on AWS without you having to manage any ops. Think Elastic Beanstalk with less control or Heroku, if you will.

NodeSource has released N|Solid v4.8.2, the latest version of its production and observability optimized Node.js distribution.

Type-Level TypeScript: The Basics — A beautiful guide to types, complete with challenges to solve. While 11 ‘chapters’ are promised to take you ‘from intermediate to advanced’, the first three are currently available. They cover the fundamentals of what types of types TypeScript makes available.

Gabriel Vergnaud

Minimize Heap Allocations in Node.jsNote that this article gets some fundamentals wrong but you could still find the broader picture useful. Notably, V8 core team member Leszek Swirski responded with some corrections that will teach you a couple of things about V8’s memory organization on their own.

Ifeanyi Dike

Fetch the Flag CTF Hosted by Snyk | Register for Free | November 9

Snyk sponsor

Building a Kanban Board with Node, React, and WebSockets

Nevo David

Creating and Simple UDP Client and Server in Node

Bipin Parajuli

🛠 Code & Tools

Online Tool to Translate i18next JSON Filesi18next is a JavaScript internationalization system where your translations are stored in JSON files. This tool will automatically translate said files to other languages. Being automated, your mileage may vary, so you’ll need to verify the output isn’t a load of merde..

Locize

textlint: A Pluggable Linting Tool for Text and Markdown — Imagine ESLint but for natural language and punctuation. Markdown and text are supported out of the box, but other formats can be added (e.g. HTML). There’s an online playground if you want to try it out.

Textlint Team

Code Capsules: The Simplest Way to Deploy Your Code

Code Capsules sponsor

create-t3-app: Interactive CLI to Quickly Set Up An Opinionated, Full-Stack, Type-Safe Next.js Project — There’s even a 10-minute screencast from Theo – ping․gg showing off how to use it.

T3 Open Source

Tesseract.js 3.0: Pure JS OCR for Over 100 Languages — A port of the C++-based Tesseract library commonly used for visual text recognition purposes. GitHub repo.

Tesseract Team

exiftool-vendored: Fast, Cross-Platform Node.js Access to ExifTool — Use this when you want to access embedded EXIF data within image files (particularly those taken with phones or DSLRs).

PhotoStructure

ws 8.9
↳ Fast, well-tested WebSocket client and server library.

Strapi 4.4
↳ Open source headless CMS.

Prisma 4.4
↳ Next-gen ORM for Node and TypeScript.

💻 Jobs

Software Engineers — Sticker Mule is the Internet’s most “kick ass” brand. Our software team operates from 17 countries, and we’re always looking for more exceptional engineers.

Sticker mule

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

Leave a comment

Your email address will not be published. Required fields are marked *