remark-toc : Generate a Table of Contents (TOC) for Markdown files. You can installing remark-toc npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install remark-toc $ sudo npm install -g remark-toc
If want to update the remark-toc package execute the command as below,
$ sudo npm update remark-toc
Update package globally,
$ npm install -g remark-toc
$ sudo git clone https://github.com/rektide/remark-toc.git
$ sudo npm install -g ./remark-toc
remark-toc@4.0.1 /usr/lib/node_modules/remark-toc
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall remark-toc
| Package Name | remark-toc |
| Version | 4.0.1 |
| Description | Generate a Table of Contents (TOC) for Markdown files |
| Released Date | 2017-06-17T13:01:41.972Z |
| Published by | wooorm |
| How to Learn | https://www.npmjs.com/package/remark-toc/tutorial |