1.0.2 • Published 6 years ago

bst-find v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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