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, of which 138 are current and 18 have been retired. The oldest is detergent (2015); the newest is html-entity-codec (2026).

There are eight hundred and fifty-two program examples posted here (including Quick Takes) — all automatically tested.

Six packages have a GUI playground.

Of the 110 packages in the monorepo, 22 (20%) declare no dependencies at all, and 90 (82%) never reach outside Codsen code however deep you follow them. Another 9 bottom out at exactly one outside library. The lot pulls in 18 distinct third-party packages in total.

Every one of those 110 packages is gated at 100% line coverage, and 32 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 99 packages — 1,003 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,093 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 seventy-seven packages
  2. ranges-apply — used by fifteen packages
  3. string-left-right — used by fifteen packages
  4. ranges-push — used by twelve packages
  5. codsen-glob — used by eight packages
  6. arrayiffy-if-string — used by seven packages
  7. html-entity-codec — used by seven packages
  8. string-match-left-right — used by seven packages
  9. ast-monkey-traverse — used by six packages
  10. ranges-merge — used by five 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