Home > @wixc3/fs-utils > getPackagePath
Gets path to package directory, closest to the given file path.
Signature:
export declare function getPackagePath(filePath: string, fs: IFileSystem): string | undefined;
| Parameter | Type | Description |
|---|---|---|
| filePath | string | |
| fs | IFileSystem |
Returns:
string | undefined