find-google-docs-in-string

1.0.4 • Public • Published

find-google-docs-in-string

npm version downloads count travis-ci

🔨 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

License

The MIT License @ 2019

/find-google-docs-in-string/

    Package Sidebar

    Install

    npm i find-google-docs-in-string

    Weekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    7.46 kB

    Total Files

    11

    Last publish

    Collaborators

    • piecioshka