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

Function ownerRemove

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

Source from the content-addressed store, hash-verified

517}
518
519export async function ownerRemove(
520 user: string,
521 pkg: string,
522 options?: ExecNpmOptions,
523): Promise<NpmExecResult> {
524 validateUsername(user)
525 validatePackageName(pkg)
526 return execNpm(['owner', 'rm', user, pkg], options)
527}
528
529// List functions (for reading data) - silent since they're not user-triggered operations
530

Callers 1

executeOperationFunction · 0.90

Calls 3

validateUsernameFunction · 0.85
validatePackageNameFunction · 0.85
execNpmFunction · 0.85

Tested by

no test coverage detected