🔨 Find links from Google Docs in string or file
const findGoogleDocs = require('@teamteanpm2024/consectetur-possimus-quisquam');
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 @teamteanpm2024/consectetur-possimus-quisquam
Usage:
@teamteanpm2024/consectetur-possimus-quisquam /path/to/text/file
The MIT License @ 2019