đșđŠ #â432 â April 7, 2022 |
Node Weekly |
JavaScript and Node Testing Best Practices: 2022 Edition â Fifty best practices divided into categories (testing, backend, frontend, etc.) complete with simple examples. We first linked to this 2Âœ years ago, but a new edition is now out updated for 2022 standards and with translations in 7 other languages including Chinese, Spanish and French. Yoni Goldberg |
Debug Node Apps in Production Without Stopping Them â Rookout empowers teams to debug cloud-native apps by helping them access real-time data in any environment, including prod. Get to the root cause faster without recreate, redeploy, or stop the app. Try Rookout free and start debugging 5x faster. Rookout sponsor |
Locale Aware Sorting in JavaScript â When building a localized app, the default sorting logic for strings might not do quite what you want.. Elijah Manor |
Node v12.22.12 (LTS) Released: It's the Final Node 12 đ â A pleasantly gentle week for Node releases with just the final Node.js 12 release making the cut. Node 12 goes âend of lifeâ on April 30 and will receive no updates after then. Richard Lau |
Quick bytes:
|
|
Basic Principles of Object-Oriented Programming in TypeScript â The author focuses on âthree pillarsâ of object-oriented programming in the TypeScript context: encapsulation, inheritance, and polymorphism (at a basic level). Camilo Reyes |
Be Amongst the First to Shape Our New Dev Community. Join Us Today Bitmovin Inc. sponsor |
â¶Â  Using Google Cloud Run's 'Always-On' CPU Allocation for Background Work â Cloud Run is Google's way to run containers in a serverless fashion, and Node is used to show off being able to run background jobs on it. Wesley Chun (Google Cloud) |
đ Â Code & Tools
JSZip 3.9: Create, Read and Edit .zip Archive Files â A simple and elegant API. The homepage is pretty cool as it has a live demo and a handy how-to. Or you can just go for the GitHub repo. Stuart Knightley |
ssh2-sftp-client 8.0: A Node.js Client for SSH2 SFTP â List files, download files, upload files - itâs all here. Note that this release has breaking changes. Tim Cross |
ioredis 5: A Performance Focused Redis Client for Node â Boasts support for Redis Cluster, Sentinel, pipelining, Lua scripting, pub/sub, etc, as well as ES6 types like Zihua Li |
ini 3.0: An INI File Parser/Serializer â INI is a text format that originated at Microsoft for formatting config files. Isaac Z. Schlueter et al. |
Retool Makes It 10x Faster to Build Custom Internal Tools for Any Company Retool sponsor |
Instauto 9.0: An Instagram Bot / Automation Library â Uses Puppeteer to do the hard work. The focus here is on ease of use. Mikael Finstad |
cron-parser 4.3: Node Library for Parsing Harri Siirak |
Nightwatch.js 2.1: Automated End-to-End Testing from Node â Write end-to-end tests in Node â uses the W3C WebDriver API to drive browsers. GitHub repo. Nightwatch Team |
The Official MongoDB Node.js Driver v4.5.0 â Supports a MongoDB Inc. |
AutoMapper 8.1: An Object-Object AutoMapper for TypeScript â GitHub repo. Chau Tran |
Kafka.js 1.16.0: A Modern Apache Kafka Client â Production ready and supports Kafka 0.10+. (Kafka is a popular open source system for working with stream-processing at scale.) TĂșlio Ornelas |
node-mssql 8.1: A Microsoft SQL Server Client for Node â Works cross-platform (Windows, Linux or macOS) and supports two different TDS drivers (pure JS and native). Patrik Simek and contributors |
isBinaryFile: Detects if a File is Binary or Text
|
pkg 5.6.0: Package Your Node Project Into an Executable
|
Fastify 3.28.0: The Fast and Low Overhead Web Framework
|