Popular Node.js Patterns and Tools to Reconsider? — Yoni is well known for his work in cataloging Node best practices but he thinks we should reflect upon entrenched approaches over time. Here he presents nine common approaches to reconsider, including the use of Dotenv, Passport.js, and having conditional code based on the value of
options for creating and using user-land snapshots. npm also gets bumped to 8.18.0 which introduces the
1
npm query
command.
Ruy Adorno
QUICK BITS:
The Deno project has made an announcement around some ‘big changes ahead’ which includes a goal to “make the vast majority of npm packages work in Deno within the next three months.” This will certainly open up the alternative runtime much more to existing Node developers.
🥯 In other server-side JS runtime news, Bun was unveiled to much fanfare recently and its creator has now unveiled a company around it called Oven (ha! – we do like a pun) along with $7m of funding. There’s a lot of work ahead.. a ‘grind’, if you will, and a lot of folks in the community are worried about potential burn-out there. Jarred is very passionate about the potential though, and we look forward to seeing future developments.
Node v16.17.0 (LTS) Released — This is one of those incredibly useful LTS releases where a bunch of more modern features get backported and made available to developers who can’t run ‘Latest’ all the time. With 16.17.0, 16.x users gain access to the
1
util.parseArgs
CLI argument parsing function, the experimental ESM loader hooks API, and the
1
node:test
module and runner, plus a variety of dependency updates.
Deploying a Node App with AWS Elastic Beanstalk — Elastic Beanstalk was one of the earliest app deployment orchestration services and while there are now lots of approaches to deploying apps, EB remains an option for AWS users.
Soketi: Simple and Fast WebSockets Server — “Ever dreamed about Serverless WebSockets? Soketi can be deployed to Cloudflare Workers. All around the world, closer to your users. Same Pusher protocol.” Written in TypeScript.
NodeGui: Build Cross Platform Desktop Apps with JS and CSS — Sounds a bit like Electron? Of course. But it’s somewhat different as it uses the Qt GUI framework which can make things more complicated but also more efficient in terms of memory use.
NodeGui
QUICK RELEASES:
Wild Wild Path 3.1 – 🤠 Object property paths with wildcards and regexps.
NATS.js 2.8 – Node client for the NATS messaging system.
Slonik 30.3 – Postgres client with runtime and build time type safety.
mojo.js 1.4 – Perl inspired real-time web framework.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
#550 — October 1, 2024 Read on the Web µExpress / Ultimate Express: Like Express, But Faster? — It’s not Express, but a reimplementation of Express’s functionality with API compatibility. Based on µWebSockets, and with Read more…
#549 — September 24, 2024 Read on the Web The Nine Node Pillars: Principles for Doing Node Right in the Enterprise — An interesting resource from a group of prolific and productive Node.js contributors. It’s Read more…
#548 — September 17, 2024 Read on the Web nano-spawn: Tiny Execa-Inspired Process Execution — If you’re familiar with Sindre’s powerful Execa for running commands from a Node app in a robust manner, 1nano-spawn offers Read more…
0 Comments