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 🙏

© 2026 – Pkg Stats / Ryan Hefner

md-links-mssroxy

v1.0.0

Published

## Índice

Readme

Markdown Links

Índice


1. Introducción a mdLinks

Los archivos markdown son un lenguaje de marcado ligero muy popular entre developers, estos normalmente contienen links (vínculos/ligas) que muchas veces están rotos o ya no son válidos y eso perjudica mucho el valor de la información que se quiere compartir.

La librería mdLinks permite leer y analizar archivos en formato Markdown, para verificar los links que contengan y reportar algunas estadísticas.

2. Instalación

Para la instalación de la librería deberá escribir el siguiente comando en la terminal:

Una vez instalada ya puede empezar a usarla.

3. Guía de uso

Para hacer uso de la librería escriba la siguiente línea de comando: md-links <path-to-file> --validate --stats

Donde:

  • md-links hace el llamado a la librería
  • <path-to-file> es la ruta hacia el archivo o directorio que se quiere analizar (recuerde que sólo se leen archivos markdown)
  • --validate argumento que puede estar presente(true) o no (false)
  • --stats se comporta igual al anterior

Retornos

<path-to-file> : no ingresa ninguna opción, no se realiza ninguna validación

  • href: URL encontrada.
  • text: Texto que aparecía dentro del link (<a>).
  • file: Ruta del archivo donde se encontró el link.

no-option

<path-to-file> --validate o <path-to-file> --v : se solicita validación de cada link encontrado

  • href: URL encontrada.
  • text: Texto que aparecía dentro del link (<a>).
  • file: Ruta del archivo donde se encontró el link.
  • status: Código de respuesta HTTP.
  • ok: Mensaje fail en caso de fallo u ok en caso de éxito.

validate-option

<path-to-file> --stats o <path-to-file> --s : se solicita estadísticas de los links

  • Total: Cantidad de links encontrados
  • Unique : Cantidad de links únicos

stats-option

<path-to-file> --validate --stats o <path-to-file> --v --s : se solicita validación y estadísticas de los links

  • Total: Cantidad de links encontrados
  • Unique : Cantidad de links únicos
  • Broken : Cantidad de links rotos encontrados

validate-stats-option

Consideraciones

  • Se aceptan rutas absolutas o relativas (recuerde que si es relativa se resuelve como relativa al directorio desde donde se invoca node)
  • Si se ejecuta en windows se recomienda el uso de la terminal GitBash con el <path-to-file> entre comillas

4. Recursos

  • Si desea saber más sobre la ruta de trabajo utilizada, puede hacerlo a través del flujograma de procesos desarrolado en Figma
  • Autor: Roxy Solano (Laboratoria - Cohort BOG-004)