bst-find
v1.0.2
Published
Search a directory and return it path
Downloads
1
Maintainers
Readme
BST-find
Add methods to search recursively a folder or file in the current folder.
Installation
With npm
npm install bst-find
Yarn version
yarn add bst-find
Usage
searchFolder(folderName, searchInNodeModules = false)
Search in the current directory a folder and return it path.
@param {*} folderName folder name to search into the current path
@param {*} searchInNodeModules if true, search into node_modules as well
@returns {string|array} folder path