Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

About→Trivia
  • Main
  • Trivia
  • Contacts

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

  1. object-pathopens in a new tab — used by three packages
  2. @inquirer/promptsopens in a new tab — used by two packages
  3. unifiedopens in a new tab — used by two packages
  4. @types/hastopens in a new tab — used by one packages
  5. @types/mdastopens in a new tab — used by one packages
  6. ansi-diff-streamopens in a new tab — used by one packages
  7. ansi-regexopens in a new tab — used by one packages
  8. currency.jsopens in a new tab — used by one packages
  9. p-mapopens in a new tab — used by one packages
  10. p-progressopens in a new tab — used by one packages

The most-consumed internal packages

  1. codsen-utils — used by sixty-nine packages
  2. string-left-right — used by fifteen packages
  3. ranges-apply — used by fourteen packages
  4. ranges-push — used by eleven packages
  5. codsen-glob — used by eight packages
  6. arrayiffy-if-string — used by seven packages
  7. string-match-left-right — used by seven packages
  8. html-entity-codec — used by six packages
  9. ast-monkey — used by five packages
  10. ranges-merge — used by three packages

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab