0.1.0 • Published 4 years ago
md-mocgor v0.1.0
Markdown Links 📂
1. Preamble
Markdown is a very popular lightweight markup language among developers. It is used on many platforms they handle plain text (GitHub, forums, blogs, ...), and it is very common to find several files in that format in any type of repository.
These Markdown files usually contain links (links) that are often broken or no longer valid, and that greatly damages the value of the information that you want to share.
2. Project summary
The Md-mocgor library is responsible for verifying links from a Markdown file, showing statistical reports of total, broken or invalid links.
3. Flowcharts
Flowcharts API

Flowcharts CLI
4. Installation
For the installation of this library it will be necessary to execute the following command line in your terminal
npm i md-mocgor5. User guide
Welcome to Md-Links
md-mocgorWhen you enter the command --help
md-mocgor --helpWhen you enter the path
md-mocgor ./pruebasWhen you enter an invalid path
md-mocgor ../routeFailWhen you enter a route that has no links
md-mocgor ./pruebas/prueba.mdWhen you enter a valid path with opcion --validate
md-mocgor ./pruebas --validateWhen you enter a valid path with opcion --stats
md-mocgor ./pruebas --statsWhen you enter a valid path with --stats --validate
md-mocgor ./pruebas --stats --validateWhen you enter a valid path with --validate --stats
md-mocgor ./pruebas --validate --stats When you enter a valid path with an invalid option
md-mocgor ./pruebas --valida6. Checklist
General
- Puede instalarse via
npm install --global <github-user>/md-links
README.md
- Un board con el backlog para la implementación de la librerÃa.
- Documentación técnica de la librerÃa.
- GuÃa de uso e instalación de la librerÃa
API mdLinks(path, opts)
- El módulo exporta una función con la interfaz (API) esperada.
- Implementa soporte para archivo individual
- Implementa soporte para directorios
- Implementa
options.validate
CLI
- Expone ejecutable
md-linksen el path (configurado enpackage.json) - Se ejecuta sin errores / output esperado
- Implementa
--validate - Implementa
--stats
Pruebas / tests
- Pruebas unitarias cubren un mÃnimo del 70% de statements, functions, lines, y branches.
- Pasa tests (y linters) (
npm test).
0.1.0
4 years ago