{"library":"babel-plugin-react-docgen-typescript","type":"library","category":null,"description":"babel-plugin-react-docgen-typescript is a Babel plugin designed to extract component documentation (docgen data) from React components written in TypeScript. It works by integrating into the Babel compilation pipeline, identifying and parsing TypeScript React files to generate metadata about their props, types, and descriptions. This data is typically consumed by documentation tools like Storybook to automatically generate prop tables and API documentation. The plugin, currently at version 1.5.1, explicitly leverages the `react-docgen-typescript` library for its core parsing logic. While functional, the plugin's documentation notes it's 'a bit of a hack' and can be 'very inefficient' if not properly configured with `include` and `exclude` regular expressions to limit the scope of files it processes. It does not specify a fixed release cadence but generally follows updates in the `react-docgen-typescript` or Babel ecosystems. Its main differentiator is its direct integration into Babel builds, offering a streamlined approach to collecting docgen data without requiring separate parsing steps.","language":"javascript","status":"active","version":"1.5.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-react-docgen-typescript","imports":["plugins: [[\"babel-plugin-react-docgen-typescript\", { /* options */ }]]"]},{"cmd":"yarn add babel-plugin-react-docgen-typescript","imports":[]},{"cmd":"pnpm add babel-plugin-react-docgen-typescript","imports":[]}],"homepage":null,"github":"https://github.com/strothj/babel-plugin-react-docgen-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-react-docgen-typescript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-react-docgen-typescript/compatibility"}}