npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

md-links-maria

v0.1.0

Published

Realiza un análisis de archivos en formato Markdown para evaluar el estado de los enlaces contenidos en ellos, proporcionando informes detallados y estadísticas pertinentes, extrae link y analiza enlaces rotos

Downloads

2

Readme

Markdown Links md-links-maria

Índice


1. Descripción

[Markdown] es una biblioteca desarrollada con Node.js que facilita la lectura y análisis de archivos Markdown. Su función principal es validar el estado de los enlaces presentes en dichos archivos y ofrecer datos estadísticos para un análisis exhaustivo. Con esta herramienta, puedes obtener información valiosa sobre la integridad de los enlaces, como enlaces activos, rotos y estadísticas únicas.

2. Instalación

Como requisito previo, asegúrate de tener Node.js instalado en tu sistema. Para instalar la librería, ejecuta el siguiente comando en tu terminal:

npm i md-links-maria

También tienes la opción de instalarlo directamente desde GitHub utilizando el siguiente comando en tu terminal: npm install md-links-maria

3. Guía de uso

Reflexiona y luego marca los objetivos que has llegado a entender y aplicar en tu proyecto. Piensa en eso al decidir tu estrategia de trabajo.

*Para conocer el total de enlaces y de enlaces únicos del archivo analizado ejecuta el comando seguido de la opción --stats.

$mdLinks pruebaReadme.md --stats { links: { Total: 67, Unique: 67 } }

*Si quieres conocer el número de enlaces rotos ejecuta el comando seguido de --validate --stats

$ mdLinks pruebaReadme.md --stats --validate { links: { Total: 77, Active: 77, Broken: 0, Unique: 75 } }

NOTA: Si se ingresa una ruta inexistente se mostrará el mensaje 'La ruta no existe.

Si deseas obtener el estado de cada uno de los links extraídos escribe en la terminal mdLinkspruebaReadme.md seguido de la ruta del archivo y de la opción --validate.

$mdLinkspruebaReadmemd--validate
{ links: [ { href: '#1-preámbulo', text: '1. Descripción', file: 'C:\Users\Maria Salcedo\Desktop\dm-link\DEV011-md-links\pruebaReadme.md', status: 'error', ok: 'ok' }, { href: '#2-resumen-del-proyecto', text: '2. Resumen del proyecto', file: 'C:\Users\Maria Salcedo\Desktop\dm-link\DEV011-md-links\pruebaReadme.md', status: 'error', ok: 'ok' }, { href: '#3-objetivos-de-aprendizaje', text: '3. Objetivos de aprendizaje', file: 'C:\Users\Maria Salcedo\Desktop\dm-link\DEV011-md-links\pruebaReadme.md', status: 'error', ok: 'ok' },

Importación de módulo

 Puedes importar el módulo markdown-links de la siguiente manera.

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

4. Disponible en

Esta librería está disponible en https://www.npmjs.com/~maria_olga