Tag: javascript

✂️ Cutting away the unused parts of your project

October 13, 2022 By Mark Otto 0

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…

Axios turns 1.0; TypeScript turns 10

October 7, 2022 By Mark Otto Off

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…

Digging into dependencies with npm query

October 6, 2022 By Mark Otto 0

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…

How TypeScript 4.9 satisfies

September 30, 2022 By Mark Otto Off

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…

Keep calm and carry on (using Node)

September 29, 2022 By Mark Otto 0

“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…

Extractors for ECMAScript

September 23, 2022 By Mark Otto Off

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…

The Node testing framework we were sleeping on

September 22, 2022 By Mark Otto 0

📗  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…

Seven weird ways to call a JavaScript function

September 16, 2022 By Mark Otto Off

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…

Creating an npm package in 2022

September 15, 2022 By Mark Otto 0

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…

Anyone know Larry Ellison?

September 9, 2022 By Mark Otto Off

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…