MCPcopy
hub / github.com/npmx-dev/npmx.dev / accessListCollaborators

Function accessListCollaborators

cli/src/npm-client.ts:546–549  ·  view source on GitHub ↗
(pkg: string)

Source from the content-addressed store, hash-verified

544}
545
546export async function accessListCollaborators(pkg: string): Promise<NpmExecResult> {
547 validatePackageName(pkg)
548 return execNpm(['access', 'list', 'collaborators', pkg, '--json'], { silent: true })
549}
550
551/**
552 * Lists all packages that a user has access to publish.

Callers 1

createConnectorAppFunction · 0.90

Calls 2

validatePackageNameFunction · 0.85
execNpmFunction · 0.85

Tested by

no test coverage detected