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

Function teamRemoveUser

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

Source from the content-addressed store, hash-verified

476}
477
478export async function teamRemoveUser(
479 scopeTeam: string,
480 user: string,
481 options?: ExecNpmOptions,
482): Promise<NpmExecResult> {
483 validateScopeTeam(scopeTeam)
484 validateUsername(user)
485 return execNpm(['team', 'rm', scopeTeam, user], options)
486}
487
488export async function accessGrant(
489 permission: 'read-only' | 'read-write',

Callers 1

executeOperationFunction · 0.90

Calls 3

validateScopeTeamFunction · 0.85
validateUsernameFunction · 0.85
execNpmFunction · 0.85

Tested by

no test coverage detected