Home » javascript » Page 19
December 23, 2021
By
Mark Otto
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…
December 17, 2021
By
Mark Otto
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…
December 16, 2021
By
Mark Otto
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…
December 10, 2021
By
Mark Otto
▶ 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…
December 9, 2021
By
Mark Otto
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…
December 3, 2021
By
Mark Otto
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…
December 2, 2021
By
Mark Otto
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…
November 26, 2021
By
Mark Otto
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:…
November 25, 2021
By
Mark Otto
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…
November 19, 2021
By
Mark Otto
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…