MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / accessRevoke

Function accessRevoke

cli/src/npm-client.ts:499–507  ·  view source on GitHub ↗
(
  scopeTeam: string,
  pkg: string,
  options?: ExecNpmOptions,
)

Source from the content-addressed store, hash-verified

497}
498
499export async function accessRevoke(
500 scopeTeam: string,
501 pkg: string,
502 options?: ExecNpmOptions,
503): Promise<NpmExecResult> {
504 validateScopeTeam(scopeTeam)
505 validatePackageName(pkg)
506 return execNpm(['access', 'revoke', scopeTeam, pkg], options)
507}
508
509export async function ownerAdd(
510 user: string,

Callers 1

executeOperationFunction · 0.90

Calls 3

validateScopeTeamFunction · 0.85
validatePackageNameFunction · 0.85
execNpmFunction · 0.85

Tested by

no test coverage detected