novemberborn.net

Open Source

I’ve made many open source contributions, from a mercifully obsolete dynamic web fonts implementation to a ground-breaking Node.js test runner, with promise implementations in between.

These projects have given me a chance to contribute to a commmunity, scratch an itch, and be creative with code without business constraint.

Most code is still out there, on my npm or GitHub accounts. Here I’ve highlighted those that are exceptionally interesting or useful today.

First, of course, is AVA, a Node.js test runner. This project was originally started by Sindre Sorhus. I joined in 2016 and have pushed a lot of the development since.

Concordance compares, formats, diffs and snapshots any JavaScript value. It was created to power AVA’s snapshot feature.

Other Node.js modules include:

  • common-path-prefix computes the longest prefix string that is common to each path, excluding the base component.
  • ignore-by-default provides a list of directories that should probably be ignored by development tools, e.g. when watching for file changes. Used by AVA, nodemon and many others.
  • ksuid is a Node.js implementation of Segment’s KSUID library.
  • never provides a function that throws when called, useful with nullish coalescing to elide unexpected nullish values.
  • release-zalgo helps you write code with promise-like chains that can run both synchronously and asynchronously. Which isn’t something you’d want to do, but it’s still neat.
  • x690 is a low-level decoder for X.690 Distinguished Encoding Rules (DER).