Programmatic API for managing npm organization memberships and roles
74
A CLI helper that installs a curated list of packages either into a workspace or globally, providing a clear summary of what was installed.
dependencies in the manifest and on disk. @testdevDependencies without affecting production entries. @test@generates
/**
* 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 };Performs the local and global package installations required by the helper.
Install with Tessl CLI
npx tessl i tessl/npm-libnpmorgdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10