@cazavi/md-links

0.1.0 • Public • Published

MD LINKS

MD LINKS its a project where I created a tool of command line (CLI) and a JavaScript library using Node.js, that reads and analyses archives on Markdown format (eg. README.md) to verify the links in it and report some statistics. This will allow us to execute JavaScript on the operative system environment, either on your local or in a server, which opens doors to interact with the system, files and networks.

DIAGRAMA DE FLUJO

TECHNOLOGIES

NodeJS, axios, chalk, axios, cheerio, marked.

INSTALL

For installing this module, you will need to write on your console:

Locally: npm i @cazavi/md-links

Globally: npm install @cazavi/md-links -g

USE

You have two commands to use on terminal adding it to the route you want to test, like this: md-links route --validate

--validate Response:

{
  href: URL,
  text: Inner link text,
  file: link route,
  status: HTTP response code,
  request: error with code or ok (depending on link state),
}

--stats Response:

{
  total: total links tested on file,
  unique: total not repeated links found,
}

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @cazavi/md-links

    Weekly Downloads

    1

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    236 kB

    Total Files

    12

    Last publish

    Collaborators

    • cazavi