(user: string)
| 554 | * Returns a map of package name to permission level |
| 555 | */ |
| 556 | export async function listUserPackages(user: string): Promise<NpmExecResult> { |
| 557 | validateUsername(user) |
| 558 | return execNpm(['access', 'list', 'packages', `@${user}`, '--json'], { silent: true }) |
| 559 | } |
| 560 | |
| 561 | /** |
| 562 | * Initialize and publish a new package to claim the name. |
no test coverage detected