NPM-Path
NPM-Path is a helper node module that gives you PATH
value including all the locally installed npm bins.
Installation
npm install --save sb-npm-path
API
: stringfunction getPathAsync(rootDirectory?: string): Promise<string>function clearCache(): void export default getPathexport { getPath getPathAsync clearCache }
Examples
{ const PATH = await npmPath return await }
License
This project is licensed under the terms of MIT License, see the LICENSE file for more info