@mdf.js/utils
Version:
MMS - API Core - Common utils tools
8 lines • 356 B
TypeScript
/**
* Find the path to a node module in every parent directory (node_modules).
* @param module - Module name
* @param dir - Directory to start searching from
* @returns Path to the module or undefined if not found
*/
export declare function findNodeModule(module: string, dir?: string): string | undefined;
//# sourceMappingURL=findNodeModule.d.ts.map