Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudifa/astro-dependencies
A tool to view the Astro project dependencies
https://github.com/rudifa/astro-dependencies
Last synced: 24 days ago
JSON representation
A tool to view the Astro project dependencies
- Host: GitHub
- URL: https://github.com/rudifa/astro-dependencies
- Owner: rudifa
- License: mit
- Created: 2024-09-11T11:42:38.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T12:28:50.000Z (2 months ago)
- Last Synced: 2024-10-07T01:41:46.667Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# View Astro project dependencies
This script generates a (very basic) graph of the dependencies in an astro project.
```
my-astro-project % ../astro-dependencies/astro-deps.js -h
Usage: astro-deps.js [options]Generate a graph of the dependencies between astro files in a project.
Options:
-c, --clusters Use clusters in the output graph
-o, --outpath Output directory for the generated files
-h, --help Show this help message
```## Example
```
astro-demo % ../astro-dependencies/astro-deps.js -c [main L|…3]
File created at ./dependencies.json (327 bytes)
File created at ./dependencies.dot (628 bytes)
File created at ./dependencies.svg (5479 bytes)
```![Dependencies](img/dependencies.svg)