source-tree

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i source-tree

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.76 kB

Total Files

9

Last publish

Collaborators

  • ricardorauber