react-file-formatter
JSON →A CLI tool (v1.1.12, npm, available as a global or npx command) for formatting and standardizing React code files. It reorders hooks, functions, and return statements based on a user-defined JSON config, integrates Prettier for consistent formatting, and supports JSX, TSX, JS, TS files. Differentiates itself by focusing on React-specific code organization (e.g., hook ordering) rather than generic formatting alone. Low maintenance frequency; no recent updates.
Resources
packagereact-file-formatter ↗
API endpoints
full doc /v1/registry/react-file-formatter