package
Get all links from a markdown string
npm install parse-markdown-linksGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Get all links from a markdown string.
Piggy backs on top of remarkable to get a list of parsed tokens corresponding to links.
$ npm i parse-markdown-links -Sconst parse = require('parse-markdown-links')
console.log(parse('[a link](https://woohoo.com)\n'))
// [ 'https://woohoo.com' , 'image.png' ]parse(text)Takes a markdown string and returns an array of links.
MIT
Estimated unpacked size across 5 packages.
3.7 MB
Includes dependencies.