CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-libnpmorg

tessl install tessl/npm-libnpmorg@8.0.0

Programmatic 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%

task.mdevals/scenario-6/

Workspace Package Installer

A CLI helper that installs a curated list of packages either into a workspace or globally, providing a clear summary of what was installed.

Capabilities

Installs workspace dependencies

  • Given package entries with target versions and an existing or empty workspace directory, installs them locally so they appear under dependencies in the manifest and on disk. @test

Installs dev-only dependencies

  • Packages flagged as development-only are installed locally and recorded under devDependencies without affecting production entries. @test

Installs global tools

  • With a global-install option enabled, installs provided packages globally, reports them as global in the summary, and leaves the workspace manifest unchanged. @test

Dry-run summary

  • When run in dry-run mode, no installation occurs and the response lists the installation actions that would be performed. @test

Implementation

@generates

API

/**
 * Installs packages locally or globally based on provided options.
 * @param {Object} options
 * @param {string} options.cwd - Workspace directory to use for local installs.
 * @param {Array<{ name: string, version?: string, dev?: boolean }>} options.packages - Packages to install.
 * @param {boolean} [options.global=false] - Whether to install the packages globally.
 * @param {boolean} [options.dryRun=false] - Whether to skip installation and report intended actions.
 * @returns {Promise<{ installed: Array<{ name: string, target: 'local' | 'global', dev?: boolean, version?: string }>, actions: string[] }>}
 */
async function installPackages(options) {}

module.exports = { installPackages };

Dependencies { .dependencies }

npm CLI { .dependency }

Performs the local and global package installations required by the helper.

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/libnpmorg@8.0.x
tile.json