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.
NpmSearchRepository
1 parent 78c7afb commit 1d87786Copy full SHA for 1d87786
shared/types/npm-registry.ts
@@ -187,6 +187,7 @@ export interface NpmSearchPackage {
187
publisher?: NpmSearchPublisher
188
maintainers?: NpmPerson[]
189
license?: string
190
+ repository?: NpmSearchRepository
191
}
192
193
export interface NpmSearchScore {
@@ -312,6 +313,20 @@ export interface NpmTrustedPublisher {
312
313
ciConfigPath?: string
314
315
316
+/**
317
+ * Repository types
318
+ * Note: Not covered by @npm/types
319
+ */
320
+export interface NpmSearchRepository {
321
+ type: 'git'
322
+ url: string
323
+ project: string
324
+ user: string
325
+ host: string
326
+ path: string
327
+ branch: string
328
+}
329
+
330
/**
331
* jsDelivr API Types
332
* Used for package file browsing
0 commit comments