source-tree
v1.0.0
Published
Quickly find a file in your Node directory
Downloads
1
Maintainers
Readme
source-tree
This is a very simple package that get all files in the process directory (and subfolders) and store them into a global key-value list, so it can be used to get the path of the file by its name from everywhere.
Install
npm install source-tree
Usage
const sourceTree = require('source-tree')
const filepath = sourceTree.find('Source.js') // /Users/.../Source.js