Project address:https://github.com/jrainlau/filemap
development environmentnode
Version 5.4.1
brief introduction
As a frequent blogger, you often need to introduce the file directory structure when introducing your own projects. In the past, either manual codeword input line by line or simple and crude screenshots could not easily and quickly construct a file directory structure diagram. Later, when learning the algorithm, I found that the file directory structure was similar toTree
The concept is very similar, so it sprouted to make an automated file directory structure generation tool.
How to Use&& Examples
git clone git@github.com:jrainlau/filemap.git
cd ./filemap && cd example
node filemap.js
(PS: please ensure thatfilemap.js
The file is in the root directory)
Options
node filemap.js <-i folder-name folder-name folder-name ...>
-
< -i folder-name >: in order to hide some directories that contain too many sub-files and sub-folders, for example
node_modules
Folder, we can use this command to prevent them from expanding. File names are separated by spaces.
Certificate
MIT