UNPKG

@aws-sdk/util-user-agent-node

Version:

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-node.svg)](https://www.npmjs.com/

11 lines (10 loc) 427 B
/** * Returns candidate paths to the node_modules parent directories based on current * working directory and, if provided, from the given directory. * * @param dirname - Optional directory path to derive an additional candidate path from. * @returns An array of unique candidate paths to the TypeScript package.json file. * * @internal */ export declare const getNodeModulesParentDirs: (dirname?: string) => string[];