Category: node js

Douglas Crockford calls JavaScript ‘smelly.’

June 8, 2023 By Mark Otto Off

Announcing TypeScript 5.1 — This release of the statically typed JavaScript superset is a gentle ‘quality of life’ step forward rather than a featureful extravaganza, but we get support for linked editing of JSX tag names, namespaced JSX attributes, the ability to have unrelated types…

Hands on with Node’s new built-in test runner

June 6, 2023 By Mark Otto 0

qnm: A CLI Tool to Look Into node_modules — If you’ve been into a node_modules folder and been overwhelmed, this tool (supporting both npm and Yarn) lets you dig around with extra guidance as to what is what. You can use fuzzy search to find…

Bundle-time macros with Bun

June 1, 2023 By Mark Otto Off

JavaScript Macros in Bun — Not content with giving the JavaScript world a brand new bundler, Bun’s Jarred has taken it a bit further: ‘macros’ that run at bundle time with the result being directly inlined into your code. They use stage 3 annotated import…

All the ways to use Postgres from Node

May 30, 2023 By Mark Otto 0

▶  ‘I Tried 8 Different Postgres ORMs’ — A modern, fast-paced, and slightly irreverent meme-heavy look at the various ways in which you can interact with Postgres (provided serverless by Neon, in this case) from a backend JavaScript app. It’s pretty neat as whirlwind tours go.…

Microsoft shrunk the TypeScript

May 25, 2023 By Mark Otto Off

DeviceScript: TypeScript for Tiny Thingamabobs — DeviceScript is a new Microsoft effort to take the TypeScript experience to low-resource microcontroller-based devices. It’s compiled to a custom VM bytecode which can run in such constrained environments. (A bit like Go’s TinyGo.) It’s aimed at VS Code…

Node.js 20 is fast(er)

May 23, 2023 By Mark Otto 0

The State of Node.js Performance in 2023 — Nearform’s Rafael Gonzaga reflects on the recent release of Node 20 and puts it through its paces against v18.16 and v16.20 with a few different benchmark suites running on a pretty typical EC2 instance. He goes into…

jQuery lives on; major changes teased

May 18, 2023 By Mark Otto Off

Bun’s New Bundler: 220x Faster than webpack? — Bun is one of the newest JavaScript runtimes (built atop the JavaScriptCore engine) and focuses on speed while aiming to be a drop-in replacement for Node.js. This week’s v0.6.0 release is the ‘biggest release yet’ with standalone…

MS’s new tool for digging deep into V8

May 16, 2023 By Mark Otto 0

‘This Page is Hosted on My Android Phone’ — Since it’s been linked on some pretty big sites already, I don’t feel too guilty about linking it here too ???? This is a link to a blog being hosted from a $180 Android phone that’s…

Why Svelte is converting TypeScript to JSDoc

May 11, 2023 By Mark Otto Off

The JavaScript Ecosystem is Delightfully Weird — There are plenty of examples of how JavaScript is weird but Sam focuses on the why. If you’ve been a JS developer for many years you’ll have seen it go through many phases and morph to fit its…

Getting recursive with Node 20.1

May 9, 2023 By Mark Otto 0

???? That said, the fs readdir and opendir functions get a new recursive option which, a commenter notes, could replace some popular third party packages that do the same thing, such as recursive-readdir which gets over 5 million downloads a week(!) Smooth Logging for Node.js…