Typejuice: Docs generator for .d.ts files inspired by godoc
github.com
github.com
I'm the author of the website mentioned by zebracanevra that does just that.
When a user requests the documentation for a package hosted on npm, a lambda function (Vercel/AWS) runs the analysis process using the TypeScript compiler.
The TS compiler is slow though and this process can take several seconds to finish for packages of medium and larger sizes (you can see the exact time at the bottom of a generated documentation page).
Works well in my tests.
Here's some discussion from when it was last posted: https://news.ycombinator.com/item?id=27107832
This is my command for example
`npx typedoc --excludePrivate --plugin typedoc-plugin-missing-exports lib/foo-bar.ts`