UNPKG

@roots/dependencies

Version:

Automated package installation

18 lines (17 loc) 565 B
import type { IDependencyManager } from '../index.js'; import { Command } from './base.command.js'; /** * Npm command */ export declare class Npm extends Command implements IDependencyManager { /** * Get the latest version of a package from the npm registry */ getLatestVersion(signifier: string): Promise<string>; /** */ install(dependencies: Array<[string, string] | string>, args?: Array<string>): Promise<any>; /** */ uninstall(dependencies: Array<[string, string] | string>, args?: Array<string>): Promise<any>; }