We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3068d5c commit 7a58de5Copy full SHA for 7a58de5
1 file changed
app/pages/[...package].vue
@@ -422,6 +422,20 @@ defineOgImageComponent('Package', {
422
<span class="i-carbon-network-3 w-3.5 h-3.5 inline-block" aria-hidden="true" />
423
<span class="sr-only">View dependency graph</span>
424
</a>
425
+
426
+ <a
427
+ v-if="getDependencyCount(displayVersion) > 0"
428
+ :href="`https://node-modules.dev/grid/depth#install=${pkg.name}${displayVersion?.version ? `@${displayVersion.version}` : ''}`"
429
+ target="_blank"
430
+ rel="noopener noreferrer"
431
+ class="text-fg-subtle hover:text-fg transition-colors duration-200"
432
+ title="Inspect dependency tree on node-modules.dev"
433
+ >
434
+ <span
435
+ class="i-solar-eye-scan-outline w-3.5 h-3.5 inline-block"
436
+ aria-hidden="true"
437
+ />
438
+ </a>
439
</dd>
440
</div>
441
0 commit comments