MCPcopy
hub / github.com/vitejs/vite / PkgInfo

Interface PkgInfo

packages/create-vite/src/index.ts:786–789  ·  packages/create-vite/src/index.ts::PkgInfo

Source from the content-addressed store, hash-verified

784}
785
786interface PkgInfo {
787 name: string
788 version: string
789}
790
791function pkgFromUserAgent(userAgent: string | undefined): PkgInfo | undefined {
792 if (!userAgent) return undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected