The instructions say to install like this:
$ npm install --save markdown-toc
and then use it from the command line like this:
markdown-toc [options] <input>
But the installation does not put markdown-toc in the user's path, so the result of the above is "command not found". It would be helpful if the usage instructions said something like this:
./node_modules/.bin/markdown-toc [options] <input>
Very nice tool though! Thanks for providing it! And let me know if I should submit a Pull Request for this.