[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add link to node modules inspector (#73)

authored by

Gugustinette and committed by
GitHub
7a58de5d 3068d5c1

+14
+14
app/pages/[...package].vue
··· 422 422 <span class="i-carbon-network-3 w-3.5 h-3.5 inline-block" aria-hidden="true" /> 423 423 <span class="sr-only">View dependency graph</span> 424 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> 425 439 </dd> 426 440 </div> 427 441