New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

appschemanr

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appschemanr

CLI tool per generare lo schema ad albero dei componenti React/Next.js di un'app

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

appschemanr

npm version

CLI tool to generate the React/Next.js component tree schema for your application.

🚀 Features

  • Automatic scanning of your React/Next.js component tree
  • Supports projects with src/, app/, pages/ and all subfolders (including [slug])
  • Detects server and client components (Next.js)
  • Watch mode: auto-updates the schema on file changes
  • Output in readable, documentable appSchema.json format

📦 Installation, Usage, and Output

# Global installation (recommended)
npm install -g appschemanr

# Or local (devDependency)
npm install --save-dev appschemanr

# Run (generates appSchema.json in your project root)
appschema

# Watch mode (auto-update on file change)
appschema --watch

# Alternatively, with npx
npx appschema
npx appschema --watch

# Example output (appSchema.json)
# {
#   "pages/index.tsx* (IndexPage)": {
#     "Navbar.tsx* (Navbar)": {
#       "UserCard.tsx* (UserCard)": null
#     },
#     "Footer.tsx* (Footer)": null
#   }
# }
# * indicates a Server Component (Next.js).


## 🔍 Supported Options
--watch or watch: Watch mode, auto-regenerates the schema on file changes

## 🧑‍💻 Contributing
PRs, issues, and suggestions are welcome!
Repository: https://github.com/Arboricum/appSchema

## 📜 License
MIT

Keywords

nextjs

FAQs

Package last updated on 07 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts