Skip to content

Latest commit

 

History

History
56 lines (50 loc) · 1.13 KB

README.md

File metadata and controls

56 lines (50 loc) · 1.13 KB

Jabi Next Visualizer

Visualizer for Next.js page router showing routes and components in tree hierarchies.

Routes View Components View

Routes View

Components View

How to Use:

  1. Install package
npm install jabi-next-visualizer
  1. Run parse to parse project's source code
npx jabi-next-visualizer extract
  1. Run server for visualizer app preview
npx jabi-next-visualizer visualize

Deployment:

After developing package:

  1. Build the TypeScript file
npm run tsc

It will create new folder named cli-build.

  1. 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.