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 Node-based utility that removes selected dependencies, prunes extraneous installs, and rebuilds the remaining tree to keep a project consistent after package changes.
alpha and beta, removing only alpha updates the manifest and lock data accordingly while keeping beta installed. @testnode_modules contains a folder not declared in the manifest (for example, unused-lib), running the cleanup process deletes that extraneous module while preserving declared dependencies. @test@generates
export interface CleanupOptions {
/**
* Project directory containing package metadata and node_modules.
*/
cwd?: string;
/**
* Package names to remove from dependencies and devDependencies.
*/
remove: string[];
/**
* Whether to remove matching entries from devDependencies as well.
* Defaults to true.
*/
includeDev?: boolean;
/**
* Controls rebuild behavior:
* - true: rebuild all installed modules
* - string[]: rebuild only the specified modules
* - false/undefined: skip rebuild
*/
rebuild?: boolean | string[];
}
export interface CleanupResult {
removed: string[];
pruned: boolean;
rebuilt: string[];
}
/**
* Orchestrates dependency removal, pruning of extraneous installs, and rebuilds.
* Executes the three stages in order: remove -> prune -> rebuild.
*/
export function cleanupProject(options: CleanupOptions): Promise<CleanupResult>;Provides uninstall, pruning, and rebuild capabilities for project dependencies.
@satisfied-by