Tag: javascript

Looking back at Node.js in 2021

December 23, 2021 By Mark Otto 0

The Best of Node Weekly in 2021 This is the last issue of the year (we’re back on January 13 as we’re taking a two week break) so we’re taking a look back at some of the most popular links that we’ve shared throughout 2021. There’s…

Array.prototype.groupBy

December 17, 2021 By Mark Otto Off

Deep-Copying in JavaScript Using structuredClone — Ever had to resort to workarounds and libraries to create a deep copy of a value? structuredClone() to the rescue as a built-in function for deep-copying. Surma shows it off in this post, but note that support is currently…

Shell scripting in Node with zx

December 16, 2021 By Mark Otto 0

How To Write Shell Scripts in Node with Google’s zx — zx is a utility that makes it easier to write command line scripts based around Node. This tutorial covers the basics before going on to build a command-line tool that helps bootstrap configuration for…

Cutting down on JavaScript

December 10, 2021 By Mark Otto Off

▶  A Coding Interview with Dan Abramov — Dan Abramov, best known for his fantastic Overreacted blog and co-creating Redux, bravely subjects himself to a ‘coding interview’ with Ben Awad. They cover a mixture of JavaScript and frontend topics, including.. centering a div! Ben Awad and Dan…

Security

December 9, 2021 By Mark Otto 0

GitHub Rolling Out Enforced 2FA and More for npm Registry — Many public code package registries have suffered issues with user security in recent years, and a single compromised package can cause havoc in the npm ecosystem in particular. GitHub are, therefore, moving forward with…

Happy 26th birthday to JavaScript

December 3, 2021 By Mark Otto Off

asciinema-player, Now 4x Smaller and 50x Faster with JS and Rust — asciinema is a Python-based terminal screen recorder (think Camtasia but for text!) but to play its recordings on the Web asciinema-player is used. Originally written in ClojureScript, a mixed JS + Rust build…

One dev’s journey from Node to Rust

December 2, 2021 By Mark Otto 0

The Best Starting Word in WORDLE? — WORDLE is an online word game that’s a bit like ‘Mastermind’ but with 5 letter words. And, of course, if you’re a developer, why not use code to analyze an approach to playing it? Amusingly, I used the…

Remixing a new way to build full-stack JavaScript apps

November 26, 2021 By Mark Otto Off

Vercel, Creator of Next.js, Raises $150M — There’s a lot of money in developer tooling lately, it seems, including for the stewards of the Next.js project which gains a fresh competitor, of sorts, this week in the shape of Remix (above). Vercel IN BRIEF: RELEASES:…

7 ways to improve Node performance

November 25, 2021 By Mark Otto 0

Getting Started with Validation in Node — You’ve got a webapp and you want to validate the data it’s sent, but there are lots of options. Here Simon breaks down one approach using JSON schemas along with Ajv. Simon Plenderleith Another Bug Bites the Dust…

Etsy’s journey to TypeScript

November 19, 2021 By Mark Otto Off

Etsy’s Journey to TypeScript — These sorts of stories always seem to be popular as teams weigh up the best way to progress. Etsy had a lot of JavaScript code but felt some of the problems they were encountering could be solved by TypeScript. This…