is an alternative way to run Node that makes it more useful for shell scripting by bringing along a variety of niceties like process management, argument handling, and including useful packages like Chalk for text coloring. v7.2 adds
1
retry
and
1
spinner
helpers (for retrying callbacks and showing a spinner UI element, respectively).
Module — node:vm lets you compile and run code within separate contexts of the underlying V8 engine. Great for sandboxing, right? Not so fast. Even the docs say it’s not for running untrusted code. Liran looks at the implications.
Liran Tal
IN BRIEF:
Yet again, npm supply chain security issues have reared their head with a supposed flood of 15,000 phishing packages on February 20/21.
Strapi is an open source Node.js-based headless CMS but the company behind it has unveiled Strapi Cloud, a commercial option for running it in the cloud.
Experiments in Mitigating Serverless Cold Start Delays — If you’re using Node for serverless functions on Vercel or Netlify, is a ‘cold start’ delay still a thing, and would frequently pinging a function mitigate against it? Due to how Vercel and Netlify specifically work, those pings may not be as useful as you’d suspect..
Punit Sethi
Sandboxing JavaScript Code — Val Town is an interesting, rather minimalist platform for running JavaScript in the cloud, and if you’re going to let folks run JavaScript on your server, good sandboxing is a must – they use Node and vm2 (well, for now anyway.) Andrew’s route to V8 sandboxing bliss, however, was Deno rather than Node, as he demonstrates here.
Remult: A CRUD Framework for Full-Stack TypeScript — Promises a ‘zero-boilerplate’ CRUD API experience by using your TypeScript entities as a single source of truth for your API, frontend type-safe API client and backend ORM. There are tutorials for using it alongside React, Angular, Vue and Next.js.
Software Engineer (Backend) — Join our “kick ass” team. Our software team operates from 17 countries and we’re always looking for more exceptional engineers.
Sticker Mule
Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
#557 — November 26, 2024 Read on the Web Deno v. Oracle: Cancelling the JavaScript Trademark — Did you know Oracle formally owns the ‘JavaScript’ trademark? There have been a few efforts to change this Read more…
#556 — November 19, 2024 Read on the Web AWS Lambda Turns Ten: Looking Back and Looking Ahead — AWS Lambda, Amazon’s cloud function service, essentially launched the term ‘serverless’ and had a big impact Read more…
#555 — November 12, 2024 Read on the Web Node v23.2.0 (Current) Released — On paper, a relatively minor release that updates the root certificates, adding five new ones, but development of TypeScript support has Read more…
0 Comments