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.
#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…
#547 — September 10, 2024 Read on the Web Express.js 5.0 Released; Sort Of — After a long period of seeming to merely be on life support, work on Express picked up significantly earlier this Read more…
#546 — September 3, 2024 Read on the Web Prisma 5.19.0, Now with ‘Typed SQL’ — Prisma is a popular declaratively-driven ORM in the Node.js / TypeScript world and its new version makes it possible Read more…
0 Comments