New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gtech-markdown-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtech-markdown-parser

Find links in Markdown

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Esta biblioteca receba uma string (em formato Markdown) e devolve um vetor de objetos com todos os links encontrados.

Essa versão abrange os seguintes tipos de links markdown:

[I'm an inline-style link](https://www.google.com)

[I'm an inline-style link with title](https://www.google.com "Google's Homepage")

[I'm a relative reference to a repository file](../blob/master/LICENSE)

Como instalar:

$ npm install gtech-markdown-parser

Como utilizar:

const MarkdownParser = require('gtech-markdown-parser');
const markdownString = `[I'm an inline-style link](https://www.google.com)`;
const links = MarkdownParser.getLinksFromMd(markdownString);

//return [ { href: 'https://www.google.com', 
//           text: 'I\'m an inline-style link' } ]

Keywords

markdown-parser

FAQs

Package last updated on 06 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts