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

mdlinkslaboratoria

v1.0.2

Published

Librería para validar los links de archivos Markdown.

Downloads

5

Readme

Librería Markdown Links

Descripción General

Los archivos Markdown contienen links 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. Por ese motivo, se desarrolló esta librería para verificar los links y reportar algunas estadísticas:

  • Total de links encontrados.
  • Total de links únicos (que no se repiten en el archivo).
  • Total de links rotos.

Instrucciones de instalación

Desde GitHub

Con el comando npm install Geraldine13/lim20181-Track-FE-markdown-list

instalación

Ver en archivo package.json la dependencia creada.

dependencia

Directo con el nombre de la librería

Con el comando npm i mdlinkslaboratoria

instdirecta

Ver en archivo package.json la dependencia creada.

depdirecta

Para usarlo programáticamente en ambos casos, se debe importar con require, ver ejemplo:

require

Versión

1.0.2

Ejemplos del uso

md-links --help

  • Para saber el uso general de la librería colocamos en consola.

help

md-links ./some/example.md

  • Al pasarle sólo la ruta o archivo .md , debe imprimir en consola todos los links encontrados, con los siguientes datos: ruta de ubicación, el link y el nombre.

    • La ruta puede ser Absoluta o Relativa.

ruta

md-links ./some/example.md --validate

  • Al pasarle la ruta o archivo .md con la opción '--validate' , debe imprimir en consola todos los links encontrados, incluyendo los estados; que para el caso de exitoso será el código '200 OK'.

validate

md-links ./some/example.md --stats

  • Al pasarle la ruta o archivo .md con la opción '--stats' , debe imprimir en consola la siguiente estadística:

    • Total: todos los links encontrados.
    • Unique: links únicos/que no se repiten.

stats

md-links ./some/example.md --validate --stats o
md-links ./some/example.md --stats --validate

  • Al pasarle la ruta o archivo .md con la opción '--stats' y '--validate' , debe imprimir en consola la estadística anterior (de --stats) y ahora se incluirá el dato de la cantidad de los links rotos:

    • Total: todos los links encontrados.
    • Unique: links únicos/que no se repiten.
    • Broken: Links fallidos o rotos.

stats&validate

BACKLOG

  • Para la implementación de la librería se realizó el backlog en el proyecto del repositorio. Ver Backlog

backlog