Description
tsdocs.dev is a service for browsing type reference documentation for JavaScript packages on npm. It generates API docs from the type definitions a library ships with, and when a package has no types of its own, it looks up the closest equivalent on DefinitelyTyped, so it works for packages that aren't written in TypeScript. It also handles packages that re-export types from other packages. Documentation is parsed and rendered with a customized version of TypeDoc, which reads docstrings and Markdown in doc comments, so library authors can improve what appears on tsdocs.dev by writing good comments. An example is the generated documentation for d3. This repository holds the service's source; running it locally requires Redis, then installing dependencies with Yarn and starting the dev server.…
Highlights
- Type reference docs for any npm package
- Falls back to DefinitelyTyped when types are missing
- Handles re-exported types
- Rendered with a customized TypeDoc
- Reads docstrings and Markdown from doc comments
Ratings & Reviews
No ratings yet
Be the first to rate Tsdocs.
People also visit
Docma
A powerful tool to easily generate beautiful HTML documentation from JavaScript
Tsdocs FAQ
What does tsdocs.dev do?
It lets you browse type reference documentation for JavaScript packages, generated from their type definitions.
Does it work for packages not written in TypeScript?
Yes. If a package ships no types, tsdocs.dev uses the closest equivalent from DefinitelyTyped.
How can I improve my library's docs on tsdocs.dev?
Write good doc comments. It uses a customized TypeDoc, which reads docstrings and Markdown in comments.
How do I run it locally?
Install and run Redis, then run yarn install and yarn dev.
What are the best Tsdocs alternatives?
Popular alternatives to Tsdocs include Docma, Jsdoc and Itdoc. See all Tsdocs alternatives










