• Check if a package has a dependency in either devDependencies or dependencies

    Parameters

    • name: string

      the name of the package to check for

    • Optional version: string = '*'

      optional version to check for, defaults to any version

    • Optional cwd: string

      override the working directory

    Returns Promise<boolean>

Generated using TypeDoc