jabi-next-visualizer
v1.0.9
Published
Visualizer for Next.js routes and components
Downloads
11
Readme
Jabi Next Visualizer
Visualizer for Next.js page router showing routes and components in tree hierarchies.
How to Use On a Project:
- Install package
npm install jabi-next-visualizer
- Run parse to parse project's source code
npx jabi-next-visualizer extract
- Run server for visualizer app preview
npx jabi-next-visualizer visualize
Deployment:
After developing package:
- Build the TypeScript file
npm run tsc
It will create new folder named cli-build
.
- Build visualizer app
cd app && npm run build
Development:
app
folder contain visualizer app using Next.js page router. cli
folder contain cli app, server app, and config constants.
To Do:
- [ ] Add checking to make sure that parse command already run before running the server.