...

react-docgen

A CLI and library to extract information from React component files for documentation generation purposes.
github-icon
GitHub
3.75kstar-icon
Created 10 years ago, last commit 19 hours ago
78 contributors
2.59k commits
Stars added on GitHub, month by month
7
8
9
10
11
12
1
2
3
4
5
6
2024
2025
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.4
star-icon /day
Last month
+0.1
star-icon /day
Last 12 months
+0.4
star-icon /day
npmPackage on NPM
Monthly downloads on NPM
7
8
9
10
11
12
1
2
3
4
5
6
2024
2025
README

react-docgen

react-docgen is a highly customizable library that extracts information from React components and returns this information in a structured machine readable format from which documentations can be generated.

@react-docgen/cli is a cli wrapper around the library allowing using react-docgen on the command line.

Typescript

See this issue about the status of TypeScript.

Documentation

For version 5.x please checkout the README.md on the 5.x branch

For version 6.x and newer please visit react-docgen.dev

License

This project is licensed under the MIT License.