Hi! This is a project about markdown files and how to create a library for publishing in npm. Markdown is a language very popular between developers to explain what do you do or what you can use our projects. Normally these files have links that are useful to understand the content of the markdown but sometimes that links are broken and that's the reason for this module help you. This module was created with JavaScript language and Node.js, enjoy it!
I make this simple flowchart to explain how the modules work and what this will happen if you don't follow the instructions (ups!)
First of all you need to install this package/module, copy and paste or type this command in your terminal:
'npm i lumenbarron-md-links'
After that, you can use the package with the word md-links and insert the file or path that you want find the links, like this way:
'md-links README.md'
With that comand you will get the links of you markdown file like that:
And that´s it you have the links of your markdown file in a easy way.
For this project I required this information and mentories:
In the next version of this package you will validate the links and know how many of this is in a good status or are broken with the following command:
'md-links README.md --validate'
Also, you will know how many are uniques and the total of the links:
'md-links README.md --stats'
And if you want to know how many are uniques and how many are broken; you will type both commands:
'md-links README.md --validate --stats'
But I still working in that so any suggestion or comment it will be so appreciated. Thank you so much!