https://github.com/sirleyalmeida/extratctlinksmd
Projeto Extract Links Markdown, na Laboratoria >>
https://github.com/sirleyalmeida/extratctlinksmd
eslint library node-js node-module nyc tdd-javascript test
Last synced: about 2 months ago
JSON representation
Projeto Extract Links Markdown, na Laboratoria >>
- Host: GitHub
- URL: https://github.com/sirleyalmeida/extratctlinksmd
- Owner: sirleyalmeida
- Created: 2019-05-06T18:08:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:36:30.000Z (over 2 years ago)
- Last Synced: 2025-05-07T23:39:09.070Z (about 2 months ago)
- Topics: eslint, library, node-js, node-module, nyc, tdd-javascript, test
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/extratctlinksfrom-md
- Size: 259 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# extratctLinksMd
Esta aplicação destina-se à extração de todos os links encontrados em uma entrada de string.
## Como instalar:
```
$ npm install extratctlinksfrom-md
```## Como utilizar:
* Formato de entrada da função: string.
Exemplo:
```node
const getLinksFromMd = require('extratctlinksfrom-md');
const str = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut [labore](https://en.wiktionary.org/wiki/labore) et [dolore](https://en.wiktionary.org/wiki/dolore) magna aliqua.';
getLinksFromMd(str);// [
// { href: 'https://en.wiktionary.org/wiki/labore', text: 'labore' },
// { href: 'https://en.wiktionary.org/wiki/dolore', text: 'dolore' },
// { href: 'http://foo.com', text: 'foo' },
// ]
```## Roadmap oficial do projeto*
### Versão 3.0.0
* README translated to english.
### Versão 2.0.0
* Correção de bugs.
### Versão 1.0.0
* Funcionalidades: extração de links;
* Entrada de Strings.## Keywords
get link, markdown.