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-preach
is my preferred ESLint setup.base-convert-int-array
converts arrays of integers from one base to another. Uses an O(N²) algorithm.common-path-prefix
computes 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.
identifierfy
rewrites an identifier string so its valid according to ES2015.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.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.package-hash
generates a hash for an installed npm package, which is useful for salting caches. Used by AVA.release-zalgo
helps you write code with promise-like chains that can run both synchronously and asynchronously.well-known-symbols
checks whether a symbol is well-known.x690
is a low-level decoder for X.690 Distinguished Encoding Rules (DER).