I like open-source a lot, so I’m always finding new repositories and reading a lot of source code from them. Almost never I get to use the library or framework found but almost always I learn something from them and get to apply this knowledge in something I’m working on.
I wonder if any of you do the same. Let me know!
Exit your process, gracefully (if possible) - for Node.js
The source code of this library is small and I’m not fully sure of where I’d use it, to be honest, but it taught/reminded me about the following topics:
- Global Node.js events
- Run multiple versions of Node.js in a GitHub Action
ESLint plugin for finding regex mistakes and style guide violations
Regular Expressions (RegExp) are very powerful but also not so straightforward. Sometimes, there many ways to get the same result but with very different results and precision and performance.
This ESLint plugin aims to reduce this friction. It’s also a very good source to learn how to write ESLint rules. I’ve been playing with writing custom rules at work and enjoying it a lot. The Babel learnings I’ve shared in previous editions have been very helpful here too!
ESLint plugin for unused exports in a TypeScript project
Another useful plugin as well as a good source of learning about writing ESLint rules. It leverages a library called ts-prune to detect unused exports.
A SQL database implemented purely in TypeScript type annotations
TypeScript has some very interesting features and some very creative projects have surfaced to leverage these features. This is one of the most mind-blowing for me.
If, like me, you’re wondering “why though?”, there is a very good reason in this issue 😁
Clash of Code challenges with TypeScript only
In the same vibe as the project above, this video shows off some of the interesting features that TypeScript has. I don’t see any usage for it again, it’s just fun.