Recursively finds all JSX files in the target directory and parses them to markdown using react-docgen and react-docgen-markdown-renderer
npm i -D propdown
Run with node:
node node_modules/propdown/lib/index.js
Specify the source directory to recursively search for .jsx files
node node_modules/propdown/lib/index.js --src=my/source/folder
Specify the target directory to put processed markdown files
node node_modules/propdown/lib/index.js --out=my/docs/folder
Specify to log more verbosely when running
node node_modules/propdown/lib/index.js --verbose
See Changelog