@punkrain

3 Followers
22 Following
8 Posts
Nice deep dive by Axel Rauschmayer on util.styleText() in Node.js. Clean way to handle ANSI styling natively. No deps needed.
https://2ality.com/2025/05/ansi-escape-sequences-nodejs.html
Styling console text in Node.js

In this blog post, we explore how we can style text that we log to the console in Node.js. Some of the examples use a Unix shell but most of the code should also work on Windows.

Want the full git story behind a file?
git log -p -- your-file-name.js
See every change, every commit, every regret.
#git #versioncontrol #javascript #devtools

Great reminder on effective ways to log deep objects on the server in Node.js! Useful tips to make debugging easier without overwhelming your logs. Check out the video here: https://youtu.be/Ozg5UqaD5fg?si=aK5lv9RK3plX8M_e

#NodeJS #Logging

Going weirdly deep on console.log

YouTube
For those working with Git, @stefanjudis has shared a valuable tip on how to search exclusively within added or removed lines in commits. This approach is particularly beneficial when analyzing code evolution or investigating recent changes. #Git #DevelopmentTips
https://www.stefanjudis.com/today-i-learned/how-to-search-for-strings-in-git-commit-additions-or-deletions/
How to search for strings in Git commit additions or deletions

Use the `git log -S` to find a commit than added or removed a string from a code base.

Big React Aria release! πŸš€

🎨 7 Color Picker components now GA, with new Tailwind starter kit examples!
⏳ Pending Button state
πŸšͺ New Disclosure component
πŸͺ— DisclosureGroup (aka Accordion)
🌴 Tree beta
πŸ“± Improved Android touch handling

Check it out! https://react-spectrum.adobe.com/releases/2024-09-30.html

September 30, 2024 Release

Happy fall! 🍁 We’re excited to announce that our color picker components are now generally available! We've also added a pending state for buttons in React Aria Components, advanced TreeView to beta, and added new Disclosure and DisclosureGroup components in alpha for building accordions and collapsible panels.

Great work on React Aria components @devongovett and team. It's a joy to use.
https://react-spectrum.adobe.com/react-aria/
React Aria

Craft world-class accessible components with custom styles.

Step-by-Step Guide: Migrating from Jest to Node.js Native Test Runner

Are you looking for a native testing solution that's faster and more efficient than Jest? Then this post is for you! In this step-by-step guide, you'll learn how to migrate from Jest to Node.js native test runner. You'll walk through the process, fro...

Erick Wendel Training
Had fun building a side project with Lucia Auth recently. Nice docs and abstractions that are easy to wrap your head around.
https://lucia-auth.com
Lucia

An open source resource on implementing authentication with JavaScript

Lucia