#457 — October 6, 2022 |
|
An Active Typosquatting Campaign Targeting npm Users — Security supply chain company Phylum detected a campaign to ‘typosquat’ against a variety of high profile packages. The idea behind typosquatting is that you claim package names similar to others, such as ‘expresss’ for Louis Lang (Phylum) |
Axios 1.0: A Reasonably Popular HTTP Client Library — We thought you’d like an understatement.. 😁 With 96k GitHub stars and a presence in many thousands of apps, Axios is very popular and it’s amazing it’s just now reached 1.0. The Fetch API has taken much of its thunder, but like jQuery, it wraps up a lot of functionality into a broadly liked API. v1.0 has lots of minor tweaks and enhancements, but is mostly business as usual. (Official homepage.) Axios Project |
New Node.js API from a Google Ventures-Backed Notifications Infrastructure Service — Contacting your users should be simple. That’s why we built Courier. With a single request you can contact your users on multiple channels. Even better, you can schedule notifications and route to the best contact method. Try it today. Courier.com sponsor |
▶ Using Elijah Manor |
The New Test Framework Built-In to Node 18.8+ Explained — We’ve mentioned it a few times, but here’s a bit more of a guided introduction to Node’s new ‘no-dependencies-required’ way to run test suites. David Herron |
Announcing TypeScript 4.9 Beta — This is a very 'satisfy'-ing update that introduces the Daniel Rosenwasser (Microsoft) |
Best Practices for Creating a Modern npm Package — Learn how to create modern and sustainable npm packages using these best practices. Check it out now. Snyk sponsor |
On Quality Code: Node.js Design Patterns and Performance — A written transcript of an interview with Luciano Mammino, the author of Node.js Design Patterns, covering all sorts of areas from serverless architecture to design patterns and streams. Raz Cohen (Sprkl) |
Ten Best Practices to Containerize Node Apps with Docker — Production-grade guidelines for building optimized and secure Node-based Docker images whether for microservices, server-side rendering, or stand alone apps. Now with a fresh PDF cheatsheet. Liran Tal and Yoni Goldberg |
Routing Postgres Queries Between Read-Write and Read-Only Instances
|
Hosting a Ghost 5 Site on Fly.io's Free Tier in Two Minutes
|
🛠 Code & Tools |
zx 7.1: Google's Tool for Easier Scripting with Node.js — The idea is simple: use JavaScript instead of bash or similar shell scripting. zx smoothes off the rough edges (see the README for examples). v7.1 introduces a new |
Serverless-Postgres 2.0: Manage Postgres Connections at Serverless Scale — An interesting alternative to proxying large numbers connections to Postgres that, as long as you’re using a library built on top of Matteo Gioioso |
Get Real-Time Tracking and Monitoring for All of Your Tests Buildkite Test Analytics sponsor |
Sharing 1.0: Tool to Share Directories with iOS / Android Devices — Basically a simple file server that spits out a QR code you can scan to access files from your mobile devices on the same network. parvardegr |
|
|