Executing Shell Commands from Node.js — Dr. Axel’s journey through the backrooms of Node.js continues with another in-depth guide – this time tackling running other programs from our Node apps. The focus is on the built-in
1
child_process
module here, but you might also want to consider things like execa too.
Dr. Axel Rauschmayer
Bun: An Interesting New JavaScript Runtime — A challenger appears! Bun is a new JavaScript runtime built not around V8 (like Node.js or Deno are) but WebKit/Apple’s JavaScriptCore. It includes its own bundler, transpiler, task runner, and npm client, but most significantly boasts huge performance improvements over existing options and supports a lot of Node and Web APIs already. Want a quick tour and explanation? ▶️ This video by Theo of ping.gg does a pretty good job. One to watch.
Ways to Estimate npm Package Market Share — Industry analysis is far from an exact science, but it’s interesting to see the techniques and data sources you can use to estimate things like relative market share of various packages.
Last week we mentioned some security releases were due this week due to some medium and high severity security issues, but it appears Node is less affected than was anticipated with just one moderate vulnerability on Windows (32 bit x86) to be resolved.
▶ Playing Pokemon Together with Node — For some reason, Confreaks (well known for their top notch conference recordings) has been uploading talks from older conferences this week. This one from JSConf US 2019 tickled us as a bit of fun.
string-strip-html: Strip HTML Tags from Strings — Lots of examples to see here. Quite a lot of functionality – it’s not just a regex and replace. You can strip HTML and contents, keep the contents, and even tackle widow words.
Documents from Templates — Given a template document with Mustache-esque tags, this can switch in different content en masse, mail merge style.
Alon Bar
💻 Jobs
Software Engineers — Sticker Mule is the Internet’s most “kick ass” brand. Our software team operates from 17 countries, and we’re always looking for more exceptional engineers.
Sticker mule
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.
#479 — March 23, 2023 Read on the Web 🔒 npm Granular Access Tokens Now Generally Available — The granular access token feature on the npm registry is now generally available, allowing you to restrict Read more…
#478 — March 16, 2023 Read on the Web Shell-Free Scripts with Execa 7.1 — Execa is a popular process execution library for Node and the latest version includes an interesting 1$ method feature for Read more…
#477 — March 9, 2023 Read on the Web Feathers 5: The API and Real-Time App Framework — Feathers isn’t as well known as Nest or Fastify, say, but it’s a powerful and mature option Read more…
0 Comments