timo9378/flow2code Route Diff
Semantic flow diff for TypeScript API routes. Posts a PR comment showing what changed in each route's control flow — removed error handling, changed branch conditions, new external calls — instead of a text diff.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Token used to post the PR comment (usually secrets.GITHUB_TOKEN) | yes | — |
| paths-regex | Regex selecting which changed files are analyzed as routes | no | (^|/)route\.[tj]sx?$|/pages/api/.+\.[tj]sx?$|/api/.+/route\.[tj]sx?$ |
| max-files | Maximum number of files reported in one comment | no | 20 |
| fail-on-warning | Fail the check when a flow warning (e.g. removed error handling) is found | no | false |
| flow2code-cli | Override the CLI invocation (advanced; used for dogfooding from source) | no | npx -y @timo9378/flow2code |
Outputs
no outputs