CLI Project
RBAC Visualizer
An npm CLI tool that parses your role-based access config and renders an interactive permission tree right in the terminal.
The Challenge
Making complex, nested JSON/YAML role configurations comprehensible at a glance without leaving the terminal.
The Solution
Leveraged Ink (React for CLI) to build an interactive, navigable tree view. Implemented custom parsing logic to normalize various common RBAC configuration formats.
Tech Stack
Node.jsInknpmTypeScript
Key Features
Interactive keyboard navigation through permission nodes
Support for multiple config formats (JSON, YAML, JS)
Cycle detection and visualization for recursive roles
Export capabilities to Markdown or PNG