Get all URLs in a text file or stdin
npm install --global get-urls-cli$ get-urls --help
Usage
$ get-urls <file>
$ cat <file> | get-urls
Example
$ get-urls file.txt
https://sindresorhus.com
https://github.com
- get-urls - API for this module