🔨 Find links from Google Docs in string or file
const findGoogleDocs = require('@zibuthe7j11/minima-saepe-eveniet');
const links = findGoogleDocs(
`
<https://docs.google.com/document/d/super-uniq-id/edit>
https://docs.google.com/document/d/super-uniq-id-2/edit
https://google.com/search?q=cookie
`
);
console.log(links);
// - https://docs.google.com/document/d/super-uniq-id/edit
// - https://docs.google.com/document/d/super-uniq-id-2/edit
Installation
npm install -g @zibuthe7j11/minima-saepe-eveniet
Usage:
@zibuthe7j11/minima-saepe-eveniet /path/to/text/file
The MIT License @ 2019