Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabyfutemma/extractlinks-gf
Laboratoria - Sprint 4 - Final Product: a library to filter links in markdown using Regex, Mocha, Chai and NYC
https://github.com/gabyfutemma/extractlinks-gf
chai javascript mocha npm npm-package nyc regex
Last synced: 10 days ago
JSON representation
Laboratoria - Sprint 4 - Final Product: a library to filter links in markdown using Regex, Mocha, Chai and NYC
- Host: GitHub
- URL: https://github.com/gabyfutemma/extractlinks-gf
- Owner: gabyfutemma
- Created: 2018-09-01T22:40:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-14T19:48:28.000Z (about 6 years ago)
- Last Synced: 2024-04-26T07:22:53.306Z (8 months ago)
- Topics: chai, javascript, mocha, npm, npm-package, nyc, regex
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gf-extract-links-lib
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Extract Links From Markdown
**This library intended is extract links from markdown.**In current version returns an array with url and text.
## The methods of this library are:
#### **getLinksFromMd(text);**Example:
```
$node
> let extractLib = require("gf-extract-links-lib")
> extractLib.getLinksFromMd( "Oi você quer entrar no site [google](www.google.com) ?"); //[{href: "www.google.com", text: "google"}]
```## Version 1.0.2 (released)
- Add devDependencies;## Version 1.0.1
- Functions refactored;## Version 1.0.0
- Functionalities: extract links and text from markdown;
- Return an array with objects having url and text;## Installation
- You must have node + npm installed.
- Installation Guide, visit the [official site](https://www.npmjs.com/get-npm).
- Proceed installation `$npm install gf-extract-links-lib`## Roadmap of project
**version 2.0.0**
- README in pt_br;**version 1.0.0 (released)**
- Functionalities: extract links and text from markdown.