Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 471 Bytes

File metadata and controls

23 lines (15 loc) · 471 Bytes

📂 Api org

The org api retrieves package permissions for a specific npm organization namespace, showing which packages the organization has access to and their permission levels.

Syntax

org(namespace: string): Promise<NpmPackageOrg>

Types

PermissionLevel

type PermissionLevel = "read" | "write" | "admin" | "maintain";

NpmPackageOrg

type NpmPackageOrg = Record<string, PermissionLevel>;