We pack 5 introduces a slew of new static analysis features, including /*#__pure__*/
https://webpack.js.org/blog/2020-10-10-webpack-5-release/
(Every sufficiently advanced dev tool contains an ad-hoc, informally specified compiler?)
A https://readme.md/ is brilliant for small projects. For very large projects, there are lot of mature tools: mdbook (used for Rust), Sphinx (used for Python) and Scribble (used for Racket).
I don't know of many good options for "slightly bigger than a README" though.