Trivia
Codsen has been publishing to npm for 10.8 years — 156 packages in that time, roughly 14.3 a year. Our monorepo contains 101 packages; 33 packages have been retired. Among the 123 packages that have not been retired, the oldest is detergent (2015); the newest is html-entity-codec (2026).
There are seven hundred and seventy-one program examples posted here (including Quick Takes) — all automatically tested.
Six packages have a GUI playground.
Of the 95 packages in the monorepo, 21 (22%) declare no dependencies at all, and 78 (82%) never reach outside Codsen code however deep you follow them. Another 7 bottom out at exactly one outside library. The lot pulls in 18 distinct third-party packages in total.
Every one of those 95 packages is gated at 100% line coverage, and 31 of them at 100% branches, functions and statements as well. A package which slips below its threshold fails the build instead of shipping.
Benchmarks are checked in for 84 packages — 924 recorded runs so far. A release more than 10% slower than its own baseline fails the build; anything within 2% counts as unchanged. The quickest of them, html-all-known-attributes, clears 41,466,235 normalised operations a second.
It has taken 10,133 commits to get here. The package leaning hardest on the others, detergent, is built out of 16 of our own and is the chunkiest of the lot too, unpacking to 447 KB against a 36 KB median across the rest.
The most-consumed external dependencies
object-path— used by three packages@inquirer/prompts— used by two packagesunified— used by two packages@types/hast— used by one packages@types/mdast— used by one packagesansi-diff-stream— used by one packagesansi-regex— used by one packagescurrency.js— used by one packagesp-map— used by one packagesp-progress— used by one packages
The most-consumed internal packages
codsen-utils— used by sixty-nine packagesstring-left-right— used by fifteen packagesranges-apply— used by fourteen packagesranges-push— used by eleven packagescodsen-glob— used by eight packagesarrayiffy-if-string— used by seven packagesstring-match-left-right— used by seven packageshtml-entity-codec— used by six packagesast-monkey— used by five packagesranges-merge— used by three packages