0.1.3 • Published 5 years ago

lumenbarron-md-links v0.1.3

Weekly downloads
16
License
-
Repository
-
Last release
5 years ago

Markdown Links

Introduction

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!

Constrution of a NPM package

A little guide

I make this simple flowchart to explain how the modules work and what this will happen if you don't follow the instructions (ups!)

Flowchart about mdLinks

How to use

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: enter image description here

And that´s it you have the links of your markdown file in a easy way.

Documentation

For this project I required this information and mentories:

Working in a Version 2

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!