1.0.2 • Published 2 years ago

md-links-yuli v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Markdown Links 🔗

Índice


1. Md-Links

Yes, another library, but different from all the previous ones 📚

MD-LINKS is a library and a command line tool (CLI) executable with Node.js, which allows identifying, validating and obtaining statistics of the URLs contained in format files. Markdown

With MD-LINKS you will be able to read files that contain links (links/links), identify which ones are broken or no longer valid, in order to prevent them from damaging the value of the information you want to share.

2. Installation

$ npm install md-links-yuli

api

3. User guide

API:

const { mdLinks } = require('md-links-yuli');

If you want to validate the links found in your .md files you can use the { validate: true } property as follows:

api

Return value:

validate true cli

If you only want to see the links found in your .md files you can change the property to { validate: false }:

api

Return value:

validate false cli

CLI (Command Line Interface):

md-links <path-to-file>

Object with links

md-links <path-to-file> --validate or --v

Option --validate

md-links <path-to-file> --stats or --s

Option --stats

md-links <path-to-file> --validate --stats or --v --s

Option --validate and --stats

4. Flowchart

Flowchart

5. Backlog

The backlog was implemented with Github Projects

6. Author

Yulimar Duque front-end developer