Skip to content

Generate markdown list of all the files in a directory. Now also with emoji πŸ“‚ πŸ“„

License

Notifications You must be signed in to change notification settings

michalbe/md-file-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

md-file-tree by @michalbe

Generate markdown tree of all the files in a directory, recursively.

How to use?

Install the script

$ npm install md-file-tree -g

Run the tree script in any directory

$ md-file-tree

Enable emoji (πŸ“‚ & πŸ“„) with the command line switch

$ md-file-tree --emoji
$ md-file-tree -e

Redirect the output to a file

$ md-file-tree > list.md

This generates the list.md file with:

- __michal__
  - [LICENSE](LICENSE)
  - [README.md](README.md)
  - __bin__
    - [cli.js](bin/cli.js)
  - [michal.png](michal.png)
  - [node\_modules](node_modules)
  - [npm\-debug.log](npm-debug.log)
  - [package.json](package.json)
  - [screen.png](screen.png)
  - __scripts__
    - [assert.js](scripts/assert.js)
    - [fancom.js](scripts/fancom.js)
    - [jshintrc.js](scripts/jshintrc.js)
    - [package\-json.js](scripts/package-json.js)
    - [precommit\-hook.js](scripts/precommit-hook.js)
    - [scripts.js](scripts/scripts.js)
    - [tests.js](scripts/tests.js)
  - __tests__
    - [michal\-tests.js](tests/michal-tests.js)

Hidden files & directories

Please note that this script skips all hidden files and directories (with ., like .git or .gitignore) & the contents of the node_modules directory.

About

Generate markdown list of all the files in a directory. Now also with emoji πŸ“‚ πŸ“„

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published