
Node.js Modules
I maintain several Node.js modules. Here’s a list of the most noteworthy ones, in alphabetical order:
- @novemberborn/eslint-plugin-as-i-preachis my preferred ESLint setup.
- base-convert-int-arrayconverts arrays of integers from one base to another. Uses an O(N²) algorithm.
- common-path-prefixcomputes the longest prefix string that is common to each path, excluding the base component.
- Concordance compares, formats, diffs and snapshots any JavaScript value. Used by AVA.
- identifierfyrewrites an identifier string so its valid according to ES2015.
- ignore-by-defaultprovides a list of directories that should probably be ignored by development tools, e.g. when watching for file changes. Used by AVA.
- ksuidis a Node.js implementation of Segment’s KSUID library.
- neverprovides a function that throws when called, useful with nullish coalescing to elide unexpected nullish values.
- package-hashgenerates a hash for an installed npm package, which is useful for salting caches. Used by AVA.
- release-zalgohelps you write code with promise-like chains that can run both synchronously and asynchronously.
- well-known-symbolschecks whether a symbol is well-known.
- x690is a low-level decoder for X.690 Distinguished Encoding Rules (DER).