UNPKG

@promptbook/utils

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

10 lines (9 loc) • 379 B
/** * Reads the root directory under which npm installs global packages. * * Note: `$` is used to indicate that this function is not a pure function - it runs npm * * @returns The global npm prefix or `null` when npm could not be asked for it * @private internal utility of `promptbookCli` */ export declare function $resolveNpmGlobalPrefixPath(): Promise<string | null>;