Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/components/PackageCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ const emit = defineEmits<{
/>
</dd>
</div>
<div v-if="result.package.license" class="flex items-center gap-1.5">
<dt class="sr-only">License</dt>
<dd>{{ result.package.license }}</dd>
</div>
</dl>
</div>
<!-- Mobile: downloads on separate row -->
Expand Down
1 change: 1 addition & 0 deletions shared/types/npm-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export interface NpmSearchPackage {
author?: NpmPerson
publisher?: NpmSearchPublisher
maintainers?: NpmPerson[]
license?: string
}

export interface NpmSearchScore {
Expand Down