( user: string, pkg: string, options?: ExecNpmOptions, )
| 507 | } |
| 508 | |
| 509 | export async function ownerAdd( |
| 510 | user: string, |
| 511 | pkg: string, |
| 512 | options?: ExecNpmOptions, |
| 513 | ): Promise<NpmExecResult> { |
| 514 | validateUsername(user) |
| 515 | validatePackageName(pkg) |
| 516 | return execNpm(['owner', 'add', user, pkg], options) |
| 517 | } |
| 518 | |
| 519 | export async function ownerRemove( |
| 520 | user: string, |
no test coverage detected