1.1.2 • Published 6 years ago

extract-href v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

extract-href

Extract all hrefs from an HTML string

Install

$ npm install --save extract-href

Usage

const extractHref = require('extract-href');

extractHref('<a href="hrefvalue1">link1</a><a href="hrefvalue2">link2</a>');
//=> ['hrefvalue1', 'hrefvalue2']

License

MIT © Andreas Nilsson

1.1.2

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago