{"id":13688525,"url":"https://github.com/cloudydeno/module-visualizer","last_synced_at":"2025-07-27T01:30:55.115Z","repository":{"id":44629396,"uuid":"334701581","full_name":"cloudydeno/module-visualizer","owner":"cloudydeno","description":"Interactive tools to explore ESM dependencies for any module which uses 'import' statements with URLs.","archived":false,"fork":false,"pushed_at":"2024-10-15T09:45:29.000Z","size":405,"stargazers_count":42,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-12T12:47:39.949Z","etag":null,"topics":["deno","graphviz-dot","svg"],"latest_commit_sha":null,"homepage":"https://deno-visualizer.danopia.net/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudydeno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-31T16:29:10.000Z","updated_at":"2024-11-01T16:13:38.000Z","dependencies_parsed_at":"2024-01-14T15:26:04.810Z","dependency_job_id":"6b9da95e-ad07-4698-8035-dc338cf7750b","html_url":"https://github.com/cloudydeno/module-visualizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudydeno%2Fmodule-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudydeno%2Fmodule-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudydeno%2Fmodule-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudydeno%2Fmodule-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudydeno","download_url":"https://codeload.github.com/cloudydeno/module-visualizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227740670,"owners_count":17812687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deno","graphviz-dot","svg"],"created_at":"2024-08-02T15:01:15.914Z","updated_at":"2024-12-02T14:17:12.624Z","avatar_url":"https://github.com/cloudydeno.png","language":"TypeScript","funding_links":[],"categories":["deno"],"sub_categories":[],"readme":"# Deno Module Visualizer\n\nLive @ https://deno-visualizer.danopia.net\n\nThis tool shows a Graphviz rendering of high-level module dependencies.\n\n## CLI Usage\n\n```sh\n$ deno install -f -n deno-graph --allow-run=deno,dot https://raw.githubusercontent.com/cloudydeno/module-visualizer/main/feat/dependencies-of/cli.ts\n✅ Successfully installed deno-graph\n\n$ deno-graph https://deno.land/x/djwt@v2.4/mod.ts\ndigraph \"imported modules\" {\n  rankdir=\"TB\";\n\n  \"https://deno.land/x/djwt@v2.4\"[shape=\"box\",label=\"/x/djwt@v2.4\\l4 files, 9 KB\\l\",penwidth=\"1.6931471805599454\",fontname=\"Arial\",style=\"filled\",tooltip=\"https://deno.land/x/djwt@v2.4\",fillcolor=\"lightskyblue\",href=\"https://deno.land/x/djwt@v2.4\"];\n  \"https://deno.land/x/djwt@v2.4\" -\u003e \"https://deno.land/std@0.105.0\";\n\n  \"https://deno.land/std@0.105.0\"[shape=\"box\",label=\"/std@0.105.0\\l    • /encoding\\l2 files, 3 KB\\l\",penwidth=\"1\",fontname=\"Arial\",style=\"filled\",tooltip=\"https://deno.land/std@0.105.0\",fillcolor=\"lightgreen\",href=\"https://deno.land/std@0.105.0\"];\n\n}\n```\n\n## `/dependencies-of/`\n\nThe implementation was initially represented by this shell pipeline:\n\n```sh\ndeno info --unstable --json -- \"$moduleUrl\" \\\n| deno run -- compute.ts \"$options\" \\\n| dot -T\"svg\"\n```\n\nSeveral output types are available.\nHTML and SVG renderings are the intended way of viewing the graph.\nIn addition, the dot process can be removed to export raw JSON data from the computation phase.\nThese are available as hyperlinks from the HTML output.\n\n\u003e Note: Over time, the above pipeline is being consolidated into a Deno-native module.\n\u003e * `deno info` will be replaced with `/x/deno_graph` when Deno WASM is more mature and graph loading performance is comparable.\n\u003e * `deno run` has been removed already (the JSON is processed in the main process now).\n\u003e * `dot -Tsvg` might eventually be replaced with a WebAssembly build of GraphViz :) Font measuring will be a tricky point with that.\n\n## Deploy\n\nThese are just notes for me :)\n\n```sh\nIMAGE=\"gcr.io/stardust-156404/deno-module-visualizer:$TAG\"\ndocker build . -t $IMAGE\ndocker push $IMAGE\ngcloud alpha run services update deno-module-visualizer --platform=managed --project=stardust-156404 --region=us-central1 --image=$IMAGE\n\n# or\n\n# update tag in cloud-run.yaml\ngcloud alpha run services replace cloud-run.yaml --platform=managed --project=stardust-156404 --region=us-central1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudydeno%2Fmodule-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudydeno%2Fmodule-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudydeno%2Fmodule-visualizer/lists"}