Category: node js

To npm, or not to (include) npm?

February 20, 2024 By Mark Otto 0

Apologies if you noticed there was no Node Weekly last week. This was intentional, but I forgot to mention it in advance. It’s the usual weekly service now until Easter, at least.. πŸ™‚__Your editor, Peter Cooper Node Community Debates Enabling Corepack by Default β€” Node developers…

TC39 adds a new stage for ECMAScript proposals

February 15, 2024 By Mark Otto Off

Tempo: An Easier Way to Work with Dates β€” We think they nailed their own summary: β€œA collection of utilities for working with the native Date object β€” an important distinction from other libraries that provide custom date primitives. Under the hood, Tempo mines Intl.DateTimeFormat…

Gorillas

February 8, 2024 By Mark Otto Off

jQuery 4.0.0 Beta β€” I recently looked at issue #1 of JavaScript Weekly and the top two items were jQuery, so it’s nice to feature it πŸ™‚ You might not be using jQuery, but it’s still everywhere, including WordPress. v4 says goodbye to IE 10…

An open SaaS boilerplate app

February 6, 2024 By Mark Otto 0

Learn Advanced JavaScript Performance Optimization β€” Garbage collection, memory profiling, data structures like sets and arrays, and event loop management. Learn performance-driven programming, preparing you to write blazingly fast and efficient code! Frontend Masters Malicious npm Package Targeting Roblox Users for Data Theft β€” It feels…

A Qwik break from React?

February 1, 2024 By Mark Otto Off

Announcing TypeScript 5.4 Beta β€” TypeScript gains Object.groupBy and Map.groupBy, a new NoInfer<T> utility type is introduced to stop TypeScript from digging in to match against inner types during inference, and lots of smaller bits and pieces covered in this lengthy post. The final release…

Adonis v6

January 30, 2024 By Mark Otto 0

AdonisJS v6: The Complete Web Framework β€” If you want a TypeScript-first backend Web framework with amazing docs and packed with features out the box, Adonis is worth a look. v6 takes a huge step forward by using ESM by default, offering significantly more type…

Modern shell scripting with JavaScript

January 25, 2024 By Mark Otto Off

Better JavaScript Shell Scripting with Bun Shell β€” Performance-focused server-side runtime Bun continues its rapid evolution with a side quest into the world of shell scripting by making it easier, cross-platform friendly, and less verbose. zx offers similar (but less integrated and focused) functionality to…

Neural network chess

January 23, 2024 By Mark Otto 0

Effortless GraphQL with Hasura: TypeScript Included β€” Hasura connects to your data sources, generates a GraphQL API, and deploys it globally β€” instantly. But, what if you could also write and use TypesScript functions directly in your GraphQL API? With Hasura, you can. Check it…

Astro + htmx + Alpine.js == AHA

January 18, 2024 By Mark Otto Off

console.delight β€” You use console.log to output text, but did you know that in the browser console it can be used to render other things, like SVGs and HTML? This post is packed with examples and goes deeper into the creative options opened up by…

npm by the numbers

January 16, 2024 By Mark Otto 0

npm in Review: A Retrospective in Numbers β€” From Socket comes a look at the past year from the perspective of the npm registry, focused largely on statistics (2.5 million live packages!), including download numbers, popular packages, as well as some β€˜quirky facts’ like the…