physical-cpu-count is a lovely example of small packages on npm doing one thing well. It's a cross-platform solution with clearly discussed limitations and design decisions regarding hyperthreading.
miniblog.
Related Posts
I'm flattered that SemanticDiff has a blog post comparing it with difftastic! https://semanticdiff.com/blog/semanticdiff-vs-difftastic/
It's a pretty even-handed post, and it touches on some of the different design decisions. For example, SemanticDiff considers 0xA and 10 to be the same when diffing.
Really thoughtful critique of the Language Server Protocol, what IDEs need to express, and the design decisions made.
I suspect every programming language eventually becomes dated.
As soon as you commit to 1.0, you will have design decisions that (with hindsight) are mistakes, and you can't fix them.
Design best practices change over time too. Immutability is a more common default now.