hunk.code_window:  * Perform installation.
    * 
    * @example
    *     install({'lodash': '1.0.0', 'foo': '^2.1.0' }, { quiet: true })
    */
   export async function installPkgs (fuzzyDeps: string[] | Dependencies, maybeOpts?: PnpmOptions) {
     let packagesToInstall = mapify(fuzzyDeps)
     if (!Object.keys(packagesToInstall).length) {
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:  *     install({'lodash': '1.0.0', 'foo': '^2.1.0' }, { silent: true })
  
hunk.file_path: src/api/install.ts
hunk.type: replace
file: import {LoggerType} from './logger'
  
  export type PnpmOptions = {
    cwd?: string,
    global?: boolean,
    globalPath?: string,
    storePath?: string,
    quiet?: boolean,
    logger?: LoggerType,
    ignoreScripts?: boolean
    save?: boolean,
    saveDev?: boolean,
    saveOptional?: boolean,
    production?: boolean,
    fetchRetries?: number,
    fetchRetryFactor?: number,
    fetchRetryMintimeout?: number,
    fetchRetryMaxtimeout?: number,
    saveExact?: boolean,
    force?: boolean,
    linkLocal?: boolean,
  
    // proxy
    proxy?: string,
    httpsProxy?: string,
    localAddress?: string,
  
    // ssl
    cert?: string,
    key?: string,
    ca?: string,
    strictSsl?: boolean,
  
    userAgent?: string,
    tag?: string
  }
  
  export type StrictPnpmOptions = {
    cwd: string,
    global: boolean,
    globalPath: string,
    storePath: string,
    quiet: boolean,
    logger: LoggerType,
    ignoreScripts: boolean
    save: boolean,
    saveDev: boolean,
    saveOptional: boolean,
    production: boolean,
    fetchRetries: number,
    fetchRetryFactor: number,
    fetchRetryMintimeout: number,
    fetchRetryMaxtimeout: number,
    saveExact: boolean,
    force: boolean,
    linkLocal: boolean,
  
    // proxy
    proxy?: string,
    httpsProxy?: string,
    localAddress?: string,
  
    // ssl
    cert?: string,
    key?: string,
    ca?: string,
    strictSsl: boolean,
  
    userAgent?: string,
    tag: string
  }
  
  export type Dependencies = {
    [name: string]: string
  }
  
  export type Package = {
    name: string,
    version: string,
    bin?: string | {
      [name: string]: string
    },
    dependencies?: Dependencies,
    devDependencies?: Dependencies,
    optionalDependencies?: Dependencies,
    scripts?: {
      [name: string]: string
    }
  }