1.2.0 • Published 6 years ago

extract-link-evelexis v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Features

  • Free of dependency
  • Extract likns from any website

Work tool

The Trello tool was used to organize and manage our library, based on the request of requirements that they requested.

trello

Case of use

Create a library that allows the pages of the universities to extract the links from the source or quote of that information quickly.


Basic Usage

  1. Import evelexis from src
  2. Copy your file to extractLinks.js
  3. Execute the code in git
  4. The tests are performed with npm test


Development

$ npm install evelexis

const app = require('./app.js');
const text = `# Lorem ipsum
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. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.
[foo](http://foo.com)
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.`;
app.extractLinksFromMd(text);

console.log(resultArray);
// [
//   { href: 'https://en.wiktionary.org/wiki/labore', text: 'labore' },
//   { href: 'https://en.wiktionary.org/wiki/dolore', text: 'dolore' },
//   { href: 'http://foo.com', text: 'foo' },
// ]

Development environment

js node mocha chai


Authors

  • Lexis Rodriguez - Test development - Functional support - @LexisR
  • Evelyn Parra - Functional development - technical support and documentation - @Evelynpa
1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago