1.0.4 • Published 7 months ago

find-google-docs-in-string v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 months ago

find-google-docs-in-string

npm version downloads count travis-ci

:hammer: 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