e2ed
Version:
E2E testing framework over Playwright
7 lines (6 loc) • 393 B
TypeScript
import type { AbsolutePathToDirectory, PackageInfo } from '../../types/internal';
/**
* Get information about used installed npm package from dependencies by package name.
* If the second argument `packagePath` is given, then we look for the package at this absolute path.
*/
export declare const getPackageInfo: (packageName: string, packagePath?: AbsolutePathToDirectory) => PackageInfo;