Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
markdown-notes-tree
Advanced tools
Generate Markdown trees that act as a table of contents for a folder structure with Markdown notes
If you have a folder structure with Markdown notes, you can use this tool to generate Markdown trees that act as a table of contents for the folder structure.
By default, the tool does the following:
README.md
file at the top level (the directory where the tool is executed)README.md
files in subfolders with a file containing the subfolder's name as title and a tree of the subfolder's contents (can be disabled through command line arguments)You can run the tool again and again without changing the result. Of course, it is recommended to run the tool again every time you make changes to the Markdown notes in your folder structure. It can be useful to include the tool in build scripts or pre-commit hooks.
npm install -D markdown-notes-tree
You can run the tool by running npx markdown-notes-tree
from the command line or invoking markdown-notes-tree
from an npm script.
Make sure to run the tool in the top-level directory of your Markdown notes folder structure.
There are a limited number of command line arguments available:
--noSubdirectoryTrees
: Don't write README.md
files to subdirectories. Any existing README.md
files in subfolders will be ignored.--useTabs
: Use tabs (instead of the standard four spaces) for indentation.FAQs
Generate Markdown trees that act as a table of contents for a folder structure with Markdown notes
The npm package markdown-notes-tree receives a total of 1,562 weekly downloads. As such, markdown-notes-tree popularity was classified as popular.
We found that markdown-notes-tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.