find-google-docs-in-string
v1.0.12
Published
🔨 Find links from Google Docs in string or file
Downloads
493
Maintainers
Readme
find-google-docs-in-string
🔨 Find links from Google Docs in string or file
Usage
const findGoogleDocs = require('find-google-docs-in-string');
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
CLI
Installation
npm install -g find-google-docs-in-string
Usage:
find-google-docs-in-string /path/to/text/file
Related
License
The MIT License @ 2019