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

Function teamAddUser

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

Source from the content-addressed store, hash-verified

466}
467
468export async function teamAddUser(
469 scopeTeam: string,
470 user: string,
471 options?: ExecNpmOptions,
472): Promise<NpmExecResult> {
473 validateScopeTeam(scopeTeam)
474 validateUsername(user)
475 return execNpm(['team', 'add', scopeTeam, user], options)
476}
477
478export async function teamRemoveUser(
479 scopeTeam: string,

Callers 1

executeOperationFunction · 0.90

Calls 3

validateScopeTeamFunction · 0.85
validateUsernameFunction · 0.85
execNpmFunction · 0.85

Tested by

no test coverage detected