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-linksjdb

v0.1.2

Published

* [1. Preámbulo](#1-preámbulo) * [2. Resumen del proyecto](#2-resumen-del-proyecto) * [3. Objetivos de aprendizaje](#3-objetivos-de-aprendizaje) * [4. Consideraciones generales](#4-consideraciones-generales) * [5. Criterios de aceptación mínimos del p

Downloads

7

Readme

Markdown Links

Índice


md-links

1. Descripción

Este paquete npm es una herramienta que implementa una interfaz de línea de comandos (CLI) para facilitar la validación de archivos Markdown (md) y extraer los enlaces que se encuentran en ellos. El objetivo principal es proporcionar al usuario la capacidad de analizar archivos md y obtener información relevante sobre los enlaces presentes en ellos, ademas tambien si lo desea algunas estadísticas acerca de los enlaces proporcionados .

2. Instalacion

Para instalar el paquete "md-links", asegúrese de tener Node.js y npm instalados en su sistema. Luego, ejecute el siguiente comando en su terminal o línea de comandos:

Con Npm

npm i md-linksjdb

Con Git

git clone https://github.com/Dahiana-moreno/DEV007-md-links.git

3. Implementacion

Para comenzar a utilizar la libreria debemos primero instalarla con el comando 'md.links'.

md-links

Ya que el paquete esta instalado podemos utilizar la siguiente linea de comado:

md-links <path-to-file> [options]

Se debe reemplazar el path-to-file por la ruta real del archivo en el que se desea buscar el/los enlaces.

Opciones

  • --validate: Esta opción valida los enlaces encontrados, verificando si están activos y accesibles. Devuelve información sobre el estado de cada enlace en caso de ser funcional o no.

  • --stats: Esta opción muestra estadísticas generales sobre los enlaces encontrados en el archivo, como el número total de enlaces.

Puedes combinar ambas opciones para obtener validaciones y estadísticas al mismo tiempo.

Ejemplos del uso de opciones:

  • Para buscar enlaces y validarlos:

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

  • Para buscar enlaces y obtener estadísticas:

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

  • Para buscar enlaces, validarlos y obtener estadísticas:

md-links <path-to-file> --validate --stats

md-links <path-to-file> --stats --validate

4. Diagrama de Flujo

Diagrama Api

Diagrama Cli