Home » javascript » Page 11
October 13, 2022
By
Mark Otto
Together with Node Authentication, Simplified — In this article, we lay out a new approach to authentication (plus access control & SSO) in Node.js applications. Userfront 🔐 Node.js Authentication with Twilio Verify — If you’re happy using a third party service, bringing two-factor auth into your…
October 7, 2022
By
Mark Otto
Together with 🤔 If you wonder why people use Axios when the Fetch API is widely supporters, interceptors are just one of many features its fans cite. ‘I Turned JS Into a Compiled Language (for Fun and Wasm)’ — You can never be bored observing…
October 6, 2022
By
Mark Otto
Together with An Active Typosquatting Campaign Targeting npm Users — Security supply chain company Phylum detected a campaign to ‘typosquat’ against a variety of high profile packages. The idea behind typosquatting is that you claim package names similar to others, such as ‘expresss’ for express…
September 30, 2022
By
Mark Otto
The Web Almanac 2022’s Take on the State of JavaScript in the Real World — What’s better: a survey, or real world usage data from 8 million sites? If you prefer the latter, this is for you. The Web Almanac is an annual ‘state of the…
September 29, 2022
By
Mark Otto
“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…
September 23, 2022
By
Mark Otto
A Proposed JS Feature: Extractor Objects — Entering stage one at the latest TC39 meeting is a proposal for being able to define your own logic (such as data validation or transformation) to run as part of the object destructuring process. A proposal worth reviewing. Ecma…
September 22, 2022
By
Mark Otto
📗 Shell Scripting with Node.js — Axel is too humble to call this an ‘Ultimate Guide’ or the like, but it is. After months digging into the guts of Node, npm, and the technicalities of shell scripting, he’s released a complete book. You can support…
September 16, 2022
By
Mark Otto
MemLab: A Framework for Finding JavaScript Memory Leaks — Facebook (sorry, Meta) has been using MemLab to make significant improvements to the memory use of its main SPA. Now they’ve open sourced the tool (which is itself written in TypeScript) with the hope everyone else…
September 15, 2022
By
Mark Otto
Best Practices for Creating a Modern npm Package — A step-by-step “as of 2022” walkthrough of creating your own npm package using current best practices. It’s very thorough and certainly worth revisiting, even if you’ve built a package already. As always, though, there’s more than…
September 9, 2022
By
Mark Otto
Ryan Dahl Asks Oracle to Release the ‘JavaScript’ Trademark — It’s in our small print, but did you know Oracle owns the ‘JavaScript’ trademark? This is why the standard is called ECMAScript instead. It’s all down to Netscape’s deal with Sun Microsystems, which Oracle later…