#532 — May 14, 2024 |
|
Execa 9.0: The Better ehmickey, Sorhus, et al. |
💡 They've also put together a page comparing bash, Execa, and zx so you can get a better feel for the differences and see more code examples. |
Secure M2M Authentication and Authorization in Node.js — Learn how to implement the OAuth 2.0 client credentials grant flow for secure machine-to-machine (M2M) authentication in Node.js with Stytch. Plus, get started with 1,000 M2M tokens free. Stytch sponsor |
Node v20.13.0 (LTS) Released — A lot of small backports to boost the performance of the current LTS release of Node a little. Most notably, watch mode becomes stable, but also Marco Ippolito |
OTHER RUNTIMES NEWS:
|
Hot Module Replacement (HMR) Now in AdonisJS — AdonisJS is a popular TypeScript-first Web framework for Node and you can now use HMR to modify your dev app on the fly without restarting. Julien Ripouteau |
🪝 Hot Hook: Simple Hot Module Replacement for Node + ESM — Following directly on from the Adonis news (above), Hot Hook is the library they use to pull it off, but it can be used to enhance apps that aren’t Adonis-based, too. Julien Ripouteau et al. |
Integration Testing Made Easy for Developers — Node devs, test code with dependencies like databases, APIs & queues, never miss integration failures. >90% coverage. HyperTest sponsor |
'How I Made My GitHub Profile README Dynamic' — There’s no Node here, alas, but I thought it was a good demo of how it’s not too tricky to give your GitHub profile some extra flair by pulling in your blog posts or other stats of choice. Duy Ng |
⚙️ Awesome Regex: Opinionated List of Regular Expression Tools, Tutorials, Libraries, etc. Steven Levithan 📄 A Simple Implemention to Understand |
🛠 Code & Tools |
GraphQL Yoga: A Full-Featured GraphQL Server — Create a schema, spin up a server, and you’re good to go (then you get to wire everything up). Supports GraphQL subscriptions via SSE. Designed to run across numerous environments from Node to AWS Lambda, Deno, Bun etc. GitHub repo. The Guild |
Better-SSE: A Dependency-Free Server-Sent Events Library — Server-sent events (SSE) is an API supported by browsers for allowing server-side processes to send events in realtime to frontends without WebSockets. Better-SSE makes working with SSE a smoother experience in Node. Matthew Widdicombe |
Transformational Auth & Identity | Userfront — "Compared to our previous experiences in the security/auth space, Userfront is an order of magnitude simpler to use." Userfront sponsor |
Better SQLite3 10.0: Fast and Simple SQLite3 Library — ..and with good docs too. Supports a lot of SQLite specific functionality, has a synchronous API that boasts better concurrency than an async one (why?), and worker thread support. Joshua Wise |
Ink 5.0: Build Interactive CLI Apps using React — A terminal-based React renderer so you can build command line apps using React-style components. While it’s a major release, there’s nothing new - the version number has been updated to reflect that Node 18+ is now a requirement. Vadim Demedes |
|
NodeBB 3.7.5: Node-Based Forum Software — It’s been over a year since we linked to the mature Node-based forum system, but it’s still going strong. There’s a demo forum if you want to see how it looks. NodeBB |
|