Simple tool to create a TOC (table of contents) and compliant with GitHub Flavored Markdown (GFM).
Install with npm.
Add registry in .npmrc config file.
@niquenen:registry=https://npm.pkg.github.com
Install the npm package.
npm install --global @niquenen/gfm-toc
Use gfm-toc.
gfm-toc <path>
Pull requests are always welcome. For bugs and feature requests, please create an issue.