tessl install tessl/npm-libnpmorg@8.0.0Programmatic API for managing npm organization memberships and roles
Agent Success
Agent success rate when using this tile
74%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.97x
Baseline
Agent success rate without this tile
76%
A small helper that reports and cleans package manager caches for installed modules and the bundled command runner. It should lean on the dependency's built-in cache tooling rather than reimplementing cache semantics.
cacheRoot override. @testnpm, command-runner, or both) and reports bytes and entries removed. The command-runner cache may be cleared without touching the npm cache when requested. @test@generates
export type CacheTarget = "npm" | "npx" | "all";
export interface CachePaths {
npm: string;
npx: string;
}
export interface CacheDetails {
path: string;
sizeBytes: number;
entries: number;
verified: boolean;
}
export interface InspectOptions {
cacheRoot?: string;
includeNpx?: boolean;
}
export interface PurgeOptions {
cacheRoot?: string;
target?: CacheTarget;
dryRun?: boolean;
}
export function locateCaches(opts?: { cacheRoot?: string }): CachePaths;
export function inspectCaches(opts?: InspectOptions): Promise<{
npm: CacheDetails;
npx?: CacheDetails;
}>;
export function purgeCaches(opts?: PurgeOptions): Promise<{
target: CacheTarget;
removedBytes: number;
removedEntries: number;
dryRun: boolean;
}>;Provides commands for discovering, verifying, and cleaning cache directories used by the package manager and bundled command runner.